makeallhex.sh 250 B

123456789
  1. #!/bin/bash
  2. #a quick tool to rebuild all the hex files for the keymaps in the ./keymaps/ directory
  3. make clean
  4. for f in ./keymaps/*
  5. do
  6. MAPNAME=$(echo "$f"|sed -r 's#^./keymaps/##')
  7. make KEYMAP=$MAPNAME
  8. mv ergodox_ez.hex "$f/$MAPNAME.hex"
  9. done