forked from mirrors/qmk_userspace
Remove .noci functionality (#19122)
This commit is contained in:
parent
e451703680
commit
fe577daf96
282 changed files with 3 additions and 15 deletions
|
@ -1,18 +1,6 @@
|
|||
#!/bin/sh
|
||||
# Temporary shell script to find keyboards
|
||||
#
|
||||
# This allows us to exclude keyboards by including a .noci file.
|
||||
# This allows us to include DEFAULT_FOLDER targets.
|
||||
|
||||
find -L keyboards -type f -name rules.mk | grep -v keymaps | sed 's!keyboards/\(.*\)/rules.mk!\1!' | while read keyboard; do
|
||||
if [ "$1" = "noci" ]; then
|
||||
case "$keyboard" in
|
||||
handwired/*)
|
||||
;;
|
||||
*)
|
||||
test -e "keyboards/${keyboard}/.noci" || echo "$keyboard"
|
||||
;;
|
||||
esac
|
||||
else
|
||||
echo "$keyboard"
|
||||
fi
|
||||
done
|
||||
find -L keyboards -type f -name rules.mk | grep -v keymaps | sed 's!keyboards/\(.*\)/rules.mk!\1!'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue