11 lines
174 B
Bash
Executable file
11 lines
174 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
if [ -z "$1" ]; then
|
|
echo "Usage: ddemo DEMOFILE"
|
|
echo "Demo files are located in lang/demo"
|
|
exit 1
|
|
fi
|
|
|
|
nim c nlx.nim
|
|
./nlx ../lang/demo/$1
|