diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-01-14 15:42:48 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-01-14 15:43:24 -0800 |
| commit | c1c32688a4afc43f6addb99b8b5fa878944a70e3 (patch) | |
| tree | c886f21b5b08a9053aa74fcba4b241dae5ede76d /bootstrap.lua | |
| parent | 2309b696fc34b24f05f6658b94f9105ca8ee76e4 (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.lua')
| -rw-r--r-- | bootstrap.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bootstrap.lua b/bootstrap.lua index 10d6f3b..c257965 100644 --- a/bootstrap.lua +++ b/bootstrap.lua @@ -157,6 +157,12 @@ local compile_actions = { end, ["nomsu environment name"] = function(self) return LuaCode('"_ENV"') + end, + ["this file was run directly"] = function(self) + return LuaCode('WAS_RUN_DIRECTLY') + end, + ["the command line arguments"] = function(self) + return LuaCode('COMMAND_LINE_ARGS') end } return compile_actions |
