1
0
mirror of https://github.com/catseye/SixtyPical.git synced 2024-07-06 06:28:55 +00:00
SixtyPical/loadngo.sh

12 lines
193 B
Bash
Executable File

#!/bin/sh
SRC=$1
OUT=/tmp/a-out.prg
bin/sixtypical --analyze --compile --basic-prelude $SRC > $OUT || exit 1
if [ -e vicerc ]; then
x64 -config vicerc $OUT
else
x64 $OUT
fi
rm -f $OUT