diff options
| author | Joel Challis <git@zvecr.com> | 2022-11-21 02:03:38 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-21 02:03:38 +0000 |
| commit | fe577daf966f34ae056f685c5a260473635c5ec8 (patch) | |
| tree | 3f1a27d5a5ff4b0722d19317796e0d0d5fd22bbf /util | |
| parent | e451703680a10322b7a6e74d1e3778f1776fb561 (diff) | |
Remove .noci functionality (#19122)
Diffstat (limited to 'util')
| -rwxr-xr-x | util/list_keyboards.sh | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/util/list_keyboards.sh b/util/list_keyboards.sh index aa6ed1c6af..0d1dae888f 100755 --- a/util/list_keyboards.sh +++ b/util/list_keyboards.sh | |||
| @@ -1,18 +1,6 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | # Temporary shell script to find keyboards | 2 | # Temporary shell script to find keyboards |
| 3 | # | 3 | # |
| 4 | # This allows us to exclude keyboards by including a .noci file. | 4 | # This allows us to include DEFAULT_FOLDER targets. |
| 5 | 5 | ||
| 6 | find -L keyboards -type f -name rules.mk | grep -v keymaps | sed 's!keyboards/\(.*\)/rules.mk!\1!' | while read keyboard; do | 6 | find -L keyboards -type f -name rules.mk | grep -v keymaps | sed 's!keyboards/\(.*\)/rules.mk!\1!' |
| 7 | if [ "$1" = "noci" ]; then | ||
| 8 | case "$keyboard" in | ||
| 9 | handwired/*) | ||
| 10 | ;; | ||
| 11 | *) | ||
| 12 | test -e "keyboards/${keyboard}/.noci" || echo "$keyboard" | ||
| 13 | ;; | ||
| 14 | esac | ||
| 15 | else | ||
| 16 | echo "$keyboard" | ||
| 17 | fi | ||
| 18 | done | ||
