1
0
Fork 0

Align some quantum sub-directories (#14134)

* Misc folder tidy

* Review comments

* Remove redundant entry
This commit is contained in:
Joel Challis 2021-08-24 17:07:11 +01:00 committed by GitHub
parent 2827a3cf75
commit 2cade3a483
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 6 additions and 13 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash
# This script generates a new keyboard directory under keyboards/,
# and copies the template files from quantum/template/ into it.
# and copies the template files from data/templates/ into it.
# Print an error message with the word "ERROR" in red.
echo_error() {
@ -35,11 +35,11 @@ copy_templates() {
mkdir -p "$keyboard_dir"
echo -n "Copying base template files..."
cp -r "quantum/template/base/." "${keyboard_dir}"
cp -r "data/templates/base/." "${keyboard_dir}"
echo " done"
echo -n "Copying $keyboard_type template files..."
cp -r "quantum/template/${keyboard_type}/." "${keyboard_dir}"
cp -r "data/templates/${keyboard_type}/." "${keyboard_dir}"
echo " done"
echo -n "Renaming keyboard files..."