@@ 8,9 8,11 @@ SRC="src/donsol.tal"
DST="bin/donsol.rom"
CPY="$HOME/roms"
-ETC=""
ARG=""
+STORE="$HOME/Applications/butler push"
+STOREID="hundredrabbits/donsol:uxn"
+
echo ">> Cleaning"
rm -rf bin
mkdir bin
@@ 18,7 20,7 @@ mkdir bin
if [[ "$*" == *"--lint"* ]]
then
echo ">> Linting $SRC"
- $LIN $SRC $ETC
+ $LIN $SRC
fi
echo ">> Assembling $SRC"
@@ 30,5 32,11 @@ then
cp $DST $CPY
fi
+if [[ "$*" == *"--push"* ]]
+then
+ echo ">> Pushing $DST"
+ $STORE $DST $STOREID
+fi
+
echo ">> Running $DST"
$EMU $DST $ARG