summaryrefslogtreecommitdiff
path: root/keyboard/ergodox_ez/makeallhex.sh
diff options
context:
space:
mode:
authorChristopher Browne <cbbrowne@ca.afilias.info>2016-03-22 17:29:31 -0400
committerChristopher Browne <cbbrowne@ca.afilias.info>2016-03-22 17:29:31 -0400
commita4ff9f256738cf637553e7840d53f778d791fb6f (patch)
tree91d327587401e69843eecb353e97a3119aa9939b /keyboard/ergodox_ez/makeallhex.sh
parente36a441274e9e494e1d8e38df1901f3acf9def27 (diff)
parent403d756ad56de18488e3d048e849c55e77a20b32 (diff)
Merge branch 'master' of https://github.com/jackhumbert/qmk_firmware
Diffstat (limited to 'keyboard/ergodox_ez/makeallhex.sh')
-rwxr-xr-xkeyboard/ergodox_ez/makeallhex.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/keyboard/ergodox_ez/makeallhex.sh b/keyboard/ergodox_ez/makeallhex.sh
new file mode 100755
index 0000000000..9ea899e1ae
--- /dev/null
+++ b/keyboard/ergodox_ez/makeallhex.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+#a quick tool to rebuild all the hex files for the keymaps in the ./keymaps/ directory
+make clean
+for f in ./keymaps/*
+ do
+ MAPNAME=$(echo "$f"|sed -r 's#^./keymaps/##')
+ make KEYMAP=$MAPNAME
+ mv ergodox_ez.hex "$f/$MAPNAME.hex"
+done