uxn-utils/gui/shavian/build.sh

29 lines
366 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"
ID="shavian"
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