uxn-utils/cli/icnuf1/build.sh

26 lines
306 B
Bash
Raw Normal View History

2023-11-25 18:34:59 -05:00
#!/bin/sh -e
ID="icnuf1"
ASM="uxncli $HOME/roms/drifblim.rom"
EMU="uxncli"
LIN="uxncli $HOME/roms/uxnlin.rom"
SRC="${ID}.tal"
DST="${ID}.rom"
CPY="$HOME/roms"
ARG="816.icn"
if [[ "$*" == *"--lint"* ]]
then
$LIN $SRC
fi
$ASM $SRC $DST
if [[ "$*" == *"--save"* ]]
then
cp $DST $CPY
fi
$EMU $DST $ARG