mirror of
https://github.com/openstenoproject/qmk
synced 2024-11-10 02:30:07 +00:00
11 lines
353 B
Bash
11 lines
353 B
Bash
|
#!/bin/sh
|
||
|
# Temporary shell script to find keyboards
|
||
|
#
|
||
|
# This allows us to exclude keyboards by including a .noci file.
|
||
|
|
||
|
find keyboards -type f -name rules.mk | grep -v keymaps | while read keyboard; do
|
||
|
keyboard=$(echo $keyboard | sed 's!keyboards/\(.*\)/rules.mk!\1!')
|
||
|
|
||
|
[ "$1" = "noci" -a -e "keyboards/${keyboard}/.noci" ] || echo "$keyboard"
|
||
|
done
|