add rom built check for faster tests

This commit is contained in:
zongor 2026-06-02 21:28:57 -07:00
parent 744cd74016
commit b2ec1a78d2
2 changed files with 8 additions and 4 deletions

2
cli
View File

@ -22,8 +22,10 @@ fi
case $EMIT in
"uxn")
if [ ! -f "./out/$1.rom" ]; then
./out/$ARCH/undar -emit=uxn $1 > ./out/tmp.tal
$(which uxncli) $HOME/roms/uxn/drifblim.rom ./out/tmp.tal ./out/$1.rom 2> /dev/null
fi
$(which uxncli) ./out/$1.rom
;;
esac

2
gui
View File

@ -22,8 +22,10 @@ fi
case $EMIT in
"uxn")
if [ ! -f "./out/$1.rom" ]; then
./out/$ARCH/undar -emit=uxn $1 > ./out/tmp.tal
$(which uxncli) $HOME/roms/uxn/drifblim.rom ./out/tmp.tal ./out/$1.rom 2> /dev/null
fi
$(which uxn11) ./out/$1.rom
;;
esac