From a758c32d93fb61cd62d1b96c2fbd1607520656c2 Mon Sep 17 00:00:00 2001 From: Evan Feenstra Date: Wed, 30 Aug 2023 13:05:42 -0700 Subject: [PATCH] flag in deploy script --- deploy.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/deploy.sh b/deploy.sh index f391bea..5340059 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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 }