Turns a Keybow into a macro keyboard with multiple, on-the-fly switchable layouts – so you don't need to swap mSD cards.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
307 B

#!/bin/bash
hascmd() {
command -v "$1" >/dev/null
}
if ! hascmd busted || ! hascmd luacheck ; then
echo "missing busted TDD library and luacheck Lua static source code checker; trying to install..."
bash ./setup-tests.sh
fi
echo "testing..."
busted
echo "linting..."
luacheck -q ./sdcard ./spec