Remove .noci functionality (#19122)

This commit is contained in:
Joel Challis 2022-11-21 02:03:38 +00:00 committed by GitHub
parent e451703680
commit fe577daf96
Failed to generate hash of commit
282 changed files with 3 additions and 15 deletions

View file

@ -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!'