better uxnrun
This commit is contained in:
parent
8c67cae39a
commit
a310addf5f
13
uxnrun
13
uxnrun
|
@ -2,4 +2,15 @@
|
|||
|
||||
BIN="$HOME/w/uxn/bin"
|
||||
DEST="run.rom"
|
||||
$BIN/uxnasm $1 $DEST && $BIN/uxnemu $DEST
|
||||
|
||||
if [ $# -lt 1 ]; then
|
||||
echo "usage: $0 [-c] FILE.tal"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ "$1" = "-c" ]; then
|
||||
shift
|
||||
$BIN/uxnasm $1 $DEST && $BIN/uxncli $DEST
|
||||
else
|
||||
$BIN/uxnasm $1 $DEST && $BIN/uxnemu $DEST
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue