mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-24 09:27:36 +06:00
6368a5697d
* exclude all of handwired * exclude more keyboards from CI
19 lines
435 B
Bash
Executable File
19 lines
435 B
Bash
Executable File
#!/bin/sh
|
|
# Temporary shell script to find keyboards
|
|
#
|
|
# This allows us to exclude keyboards by including a .noci file.
|
|
|
|
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
|