Skip to content

Instantly share code, notes, and snippets.

@rjpcomputing
rjpcomputing / lapp_error.lua
Created January 26, 2011 15:19
Lapp Error
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.
@rjpcomputing
rjpcomputing / install.sh
Created August 4, 2011 18:06 — forked from jnwhiteh/install.sh
lua+luarocks in sandboxed environment
#!/usr/bin/env bash
set -e
die() {
echo "$1";
exit 1;
}
# Fetch and install Lua/LuaRocks/Kepler into the local directory