uxn-utils/gui/shaviankb/build.sh

28 lines
298 B
Bash
Raw Permalink Normal View History

2024-02-10 15:16:58 -05:00
#!/bin/sh -e
ASM="uxncli $HOME/roms/drifblim.rom"
EMU="uxn11"
LIN="uxncli $HOME/roms/uxnlin.rom"
ID="shaviankb"
SRC="${ID}.tal"
DST="${ID}.rom"
CPY="$HOME/roms"
ARG=""
if [[ "$*" == *"--lint"* ]]
then
$LIN $SRC
fi
$ASM $SRC $DST
if [[ "$*" == *"--save"* ]]
then
cp $DST $CPY
fi
$EMU $DST