This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require( "pl.lapp" ) | |
function main() | |
local args = pl.lapp [[ | |
Builds Lua scripts and its modules into a single executable. It uses Squish, so a Squishy file is required. | |
<squishy_file> (string) Squishy file to use to combine Lua source and modules. | |
-t,--type (default console) Control if a console is launched. Options: console or gui | |
-d,--debug (default true) Keep filenames and line numbers in error messages and tracebacks. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -e | |
die() { | |
echo "$1"; | |
exit 1; | |
} | |
# Fetch and install Lua/LuaRocks/Kepler into the local directory |