Introduce `lua-velo` script to run the (now pure) Lua source file.
Chris Pressey
6 years ago
|
0 |
#!/bin/sh
|
|
1 |
|
|
2 |
SCRIPT=`readlink $0`
|
|
3 |
if [ "x$SCRIPT" = "x" ]; then SCRIPT=$0; fi
|
|
4 |
SCRIPTDIR=`dirname $SCRIPT`
|
|
5 |
lua $SCRIPTDIR/../impl/velo.lua/src/velo.lua $*
|
0 | |
#!/usr/bin/env lua
|
1 | |
|
2 | 0 |
--[[ ========== DEBUG ========= ]]--
|
3 | 1 |
|
4 | 2 |
local do_debug = false
|
0 | 0 |
|
1 | 1 |
-> Functionality "Interpret Velo Script" is implemented by shell command
|
2 | |
-> "impl/velo.lua/src/velo.lua %(test-body-file)"
|
|
2 |
-> "bin/lua-velo %(test-body-file)"
|