flag in deploy script

This commit is contained in:
Evan Feenstra
2023-08-30 13:05:42 -07:00
parent 68b726666f
commit a758c32d93

View File

@@ -1,6 +1,15 @@
# MODE=debug
MODE=release
BIN=sphinx-key
if [ $1 = "clear" ]
then
BIN=clear
fi
echo "building and flashing $BIN"
check_exists() {
command -v "$1" > /dev/null
}