uxn-utils/gui/biticn/build.sh

29 lines
365 B
Bash
Raw Normal View History

2024-02-06 12:51:14 -05:00
#!/bin/sh -e
ASM="uxncli $HOME/roms/drifblim.rom"
EMU="uxn11"
LIN="uxncli $HOME/roms/uxnlin.rom"
2024-02-10 13:50:35 -05:00
ID="biticn"
2024-02-06 12:51:14 -05:00
SRC="${ID}.tal"
DST="${ID}.rom"
CPY="$HOME/roms"
ARG="6x13.txt"
if [[ "$*" == *"--lint"* ]]
then
$LIN $SRC
fi
$ASM $SRC $DST
if [[ "$*" == *"--save"* ]]
then
cp $DST $CPY
fi
2024-02-06 14:42:07 -05:00
cat 6x13.txt | $EMU $DST > 6x13.icn
cat 7x14.txt | $EMU $DST > 7x14.icn
2024-02-06 12:51:14 -05:00