mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-24 17:37:40 +06:00
10 lines
250 B
Bash
10 lines
250 B
Bash
|
#!/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
|