summaryrefslogtreecommitdiffstats
path: root/keyboard/ergodox_ez/makeallhex.sh
diff options
context:
space:
mode:
authorStephan Bösebeck <stephan.boesebeck@holidayinsider.com>2016-03-24 08:22:21 +0100
committerStephan Bösebeck <stephan.boesebeck@holidayinsider.com>2016-03-24 08:22:21 +0100
commit8b883c797fc043def3abe5c367cb9d9a6f11f8fb (patch)
treefa0d91fd40de1db1ab744bce880a4cbe2bbc8b5e /keyboard/ergodox_ez/makeallhex.sh
parent55fa66428ca9b75106b8a296ea6095f7b80cc109 (diff)
parentba058f8b81132bf64b1aa263779629b8a6c18c23 (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