diff options
author | fauxpark <fauxpark@gmail.com> | 2019-10-10 21:48:37 +1100 |
---|---|---|
committer | Joel Challis <git@zvecr.com> | 2019-10-10 11:48:37 +0100 |
commit | ed1bf3afa25d7e7674df7e8618dfaf243de3058b (patch) | |
tree | cfe0e4331b8f00d09706dd0aaa8fef2cac3f61d7 /util/new_keyboard.sh | |
parent | 528ddb79871b76d026c4b2ca8b1debf9feb1e751 (diff) | |
download | qmk_firmware-ed1bf3afa25d7e7674df7e8618dfaf243de3058b.tar.gz |
Prevent clang-format messing up placeholder tokens within keyboard templates (#6790)
* Use .template file extension for keyboard template files
* Filter out .template files completely before passing to clang-format
* Undo file extension stuff; just ignore quantum/template dir
Diffstat (limited to 'util/new_keyboard.sh')
-rwxr-xr-x | util/new_keyboard.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/new_keyboard.sh b/util/new_keyboard.sh index 35d89e402..fe7c1a829 100755 --- a/util/new_keyboard.sh +++ b/util/new_keyboard.sh @@ -41,8 +41,8 @@ copy_templates() { echo " done" echo -n "Renaming keyboard files..." - mv "${keyboard_dir}/template.c" "${keyboard_dir}/${keyboard_name}.c" - mv "${keyboard_dir}/template.h" "${keyboard_dir}/${keyboard_name}.h" + mv "${keyboard_dir}/keyboard.c" "${keyboard_dir}/${keyboard_name}.c" + mv "${keyboard_dir}/keyboard.h" "${keyboard_dir}/${keyboard_name}.h" echo " done" } |