~rabbits/left

120118d1c8c41c9f183ac0711450e59e34912dfe — neauoire 2 months ago 8ba4b02
Added push to build
1 files changed, 10 insertions(+), 2 deletions(-)

M build.sh
M build.sh => build.sh +10 -2
@@ 3,14 3,16 @@
ASM="uxncli $HOME/roms/drifblim.rom"
EMU="uxnemu"
LIN="uxncli $HOME/roms/uxnlin.rom"
APP="$HOME/Applications/butler push"

SRC="src/left.tal"
DST="bin/left.rom"

CPY="$HOME/roms"
ETC="src/manifest.tal"
ARG="src/left.tal"

APPID="hundredrabbits/left: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"
	$APP $DST $APPID
fi

echo ">> Running $DST"
$EMU $DST $ARG