aboutsummaryrefslogtreecommitdiffstats
path: root/keyboard/ergodox_ez/makeallhex.sh
diff options
context:
space:
mode:
authorGravatar Jack Humbert <jack.humb@gmail.com>2016-03-30 00:45:48 -0400
committerGravatar Jack Humbert <jack.humb@gmail.com>2016-03-30 00:45:48 -0400
commite7377dc24b4aaf97f9c48ef7db78b7b6cbabe748 (patch)
tree7774668076bb8c8d2331028bb540510c078e60be /keyboard/ergodox_ez/makeallhex.sh
parentb8ac5095708b5023f5e3e375b22534f8b395741f (diff)
parent4a676746a6d8c9b47956f863ead335e995677c53 (diff)
downloadqmk_firmware-e7377dc24b4aaf97f9c48ef7db78b7b6cbabe748.tar.gz
Merge branch 'master' of https://github.com/jackhumbert/tmk_keyboard
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 000000000..9ea899e1a
--- /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