uxn-utils/gui/icnchr/build.sh

27 lines
313 B
Bash
Raw Permalink Normal View History

2023-03-18 00:33:40 -04:00
#!/bin/sh -e
ASM="uxncli $HOME/roms/drifblim.rom"
EMU="uxnemu"
LIN="uxncli $HOME/roms/uxnlin.rom"
2023-04-13 13:24:07 -04:00
ID="icnchr"
SRC="${ID}.tal"
DST="${ID}.rom"
2023-03-18 00:33:40 -04:00
CPY="$HOME/roms"
ARG="pc9820x10.chr"
if [[ "$*" == *"--lint"* ]]
then
$LIN $SRC
fi
$ASM $SRC $DST
if [[ "$*" == *"--save"* ]]
then
cp $DST $CPY
fi
$EMU $DST $ARG