aboutsummaryrefslogtreecommitdiff
path: root/bootstrap.moon
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2019-01-14 15:42:48 -0800
committerBruce Hill <bruce@bruce-hill.com>2019-01-14 15:43:24 -0800
commitc1c32688a4afc43f6addb99b8b5fa878944a70e3 (patch)
treec886f21b5b08a9053aa74fcba4b241dae5ede76d /bootstrap.moon
parent2309b696fc34b24f05f6658b94f9105ca8ee76e4 (diff)
Overhaul in progress, mostly working. Moved all the nomsu packages into
lib/, including core/*. Changes to how nomsu environments and importing work.
Diffstat (limited to 'bootstrap.moon')
-rw-r--r--bootstrap.moon2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap.moon b/bootstrap.moon
index f5b5900..05bd2a6 100644
--- a/bootstrap.moon
+++ b/bootstrap.moon
@@ -118,6 +118,8 @@ compile_actions = {
["Lua version"]: (code)=> LuaCode("_VERSION")
["nomsu environment"]: ()=> LuaCode("_ENV")
["nomsu environment name"]: ()=> LuaCode('"_ENV"')
+ ["this file was run directly"]: => LuaCode('WAS_RUN_DIRECTLY')
+ ["the command line arguments"]: => LuaCode('COMMAND_LINE_ARGS')
}
return compile_actions