~rabbits/donsol

b635e8627d93ba2b5a062290c65f48ba8828f199 — neauoire 5 months ago 8702fc7
Added push to build
1 files changed, 10 insertions(+), 2 deletions(-)

M build.sh
M build.sh => build.sh +10 -2
@@ 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