summaryrefslogtreecommitdiffstats
path: root/keyboard/ergodox_ez/makeallhex.sh
diff options
context:
space:
mode:
authoryoyoerx <kevin.wepasnick@gmail.com>2016-03-11 17:16:19 +0100
committeryoyoerx <kevin.wepasnick@gmail.com>2016-03-11 17:16:19 +0100
commit58bbfc5fa6e1d3166af433eaeb763d25972685cd (patch)
tree0cc81d768cc3dff7664cc0066c752f621c1ae228 /keyboard/ergodox_ez/makeallhex.sh
parent1d4b408fbc4fb00e5b3b09215684af472806b7cd (diff)
downloadqmk_firmware-58bbfc5fa6e1d3166af433eaeb763d25972685cd.tar.gz
qmk_firmware-58bbfc5fa6e1d3166af433eaeb763d25972685cd.tar.xz
PR190hotfix.sh, fresh hexes, makeallhex.sh script
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