uxn-utils/cli/arvelie/build.sh

33 lines
410 B
Bash
Raw Normal View History

2023-05-25 14:14:21 -04:00
#!/bin/sh -e
ID="arvelie"
ASM="uxncli $HOME/roms/drifblim.rom"
EMU="uxncli"
LIN="uxncli $HOME/roms/uxnlin.rom"
SRC="${ID}.tal"
DST="${ID}.rom"
CPY="$HOME/roms"
2023-05-25 15:54:37 -04:00
ARG=""
2023-05-25 14:14:21 -04:00
if [[ "$*" == *"--lint"* ]]
then
$LIN $SRC
fi
$ASM $SRC $DST
if [[ "$*" == *"--save"* ]]
then
cp $DST $CPY
fi
2023-05-25 19:00:17 -04:00
echo "today"
2023-05-25 15:54:37 -04:00
$EMU $DST
2023-05-25 19:00:17 -04:00
echo "gre->arv"
2023-05-25 15:54:37 -04:00
$EMU $DST "2023-05-25"
2023-05-25 19:00:17 -04:00
echo "arv->gre"
2023-05-25 15:54:37 -04:00
$EMU $DST "17K04"
2023-05-25 19:00:17 -04:00
echo "error"
$EMU $DST "abc"
2023-05-25 14:14:21 -04:00