From 467d99ee39285950aef3f94df975cfb84dbcf168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sigrid=20Solveig=20Hafl=C3=ADnud=C3=B3ttir?= Date: Sat, 1 Jan 2022 20:07:25 +0100 Subject: [PATCH] android: build demos --- build.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 1984d69..9686bbe 100755 --- a/build.sh +++ b/build.sh @@ -76,10 +76,13 @@ echo "Assembling(boot).." echo "Assembling(asma).." ./bin/uxnasm projects/software/asma.tal bin/asma.rom -if [ "${1}" = '--no-run' ]; then exit; fi +echo "Assembling roms.." +for f in projects/examples/demos/*.tal +do + bin/uxncli bin/asma.rom $f bin/`basename ${f%.tal}`.rom 2> /dev/null +done -echo "Assembling(piano).." -bin/uxncli bin/asma.rom projects/examples/demos/piano.tal bin/piano.rom 2> bin/piano.log +if [ "${1}" = '--no-run' ]; then exit; fi echo "Running.." cd bin