summaryrefslogtreecommitdiff
path: root/util/regen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/regen.sh')
-rwxr-xr-xutil/regen.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/util/regen.sh b/util/regen.sh
new file mode 100755
index 0000000000..48ea7e0b2d
--- /dev/null
+++ b/util/regen.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+set -e
+
+qmk generate-rgb-breathe-table -o quantum/rgblight/rgblight_breathe_table.h
+qmk generate-keycodes --version latest -o quantum/keycodes.h
+qmk generate-keycodes-tests --version latest -o tests/test_common/keycode_table.cpp
+
+for lang in $(find data/constants/keycodes/extras/ -type f -printf "%f\n" | sed "s/keycodes_\(.*\)_[0-9].*/\1/"); do
+ qmk generate-keycode-extras --version latest --lang $lang -o quantum/keymap_extras/keymap_$lang.h
+done