~rabbits/ornithologics

73f060271cc3d78171ec49d19ac480fb8d10a4d0 — neauoire 2 years ago eb20c09
Removed extra lb
2 files changed, 8 insertions(+), 9 deletions(-)

M build.sh
M src/ornithologics.tal
M build.sh => build.sh +6 -6
@@ 1,24 1,24 @@
#!/usr/bin/env bash

echo "Cleaning.."
# Cleaning..
rm -rf bin
mkdir bin

echo "Assembling.."
# Assembling..
uxnasm src/ornithologics.tal bin/ornithologics.rom 

echo "Installing.."
# Installing..
if [ -d "$HOME/roms" ] && [ -e ./bin/ornithologics.rom ]
then
	cp ./bin/ornithologics.rom $HOME/roms
    echo "Installed in $HOME/roms" 
    # Installed in $HOME/roms"
fi

if [ "${1}" = '--push' ]; 
then
	echo "Pushing.."
	# Pushing..
	~/Applications/butler push bin/ornithologics.rom hundredrabbits/ornithologics:uxn
fi

echo "Running.."
# Running..
uxncli bin/ornithologics.rom

M src/ornithologics.tal => src/ornithologics.tal +2 -3
@@ 11,12 11,11 @@
				;x ;cons JSR2
	( program )
	;i ;cons JSR2
		;b ;cons JSR2
			;w ;cons JSR2
		;w ;cons JSR2
			;b ;cons JSR2
	( eval )
	;eval JSR2

	( lb ) #0a18 DEO
	( debugger ) #010e DEO
	( halt ) #010f DEO