mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 19:40:29 +08:00
e5721bbd37
* Parse headers to data * Regen headers from data
9 lines
297 B
Bash
Executable file
9 lines
297 B
Bash
Executable file
#!/bin/bash
|
|
|
|
for lang in $(find data/constants/keycodes/extras/ -type f -printf "%f\n" | sed "s/keycodes_//g" | sed "s/_[0-9].*//"); do
|
|
data=$(qmk generate-keycode-extras --version latest --lang $lang)
|
|
if [ "$?" == "0" ]; then
|
|
echo "$data" > quantum/keymap_extras/keymap_$lang.h
|
|
fi
|
|
done
|