From c1c32688a4afc43f6addb99b8b5fa878944a70e3 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Mon, 14 Jan 2019 15:42:48 -0800 Subject: Overhaul in progress, mostly working. Moved all the nomsu packages into lib/, including core/*. Changes to how nomsu environments and importing work. --- bootstrap.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bootstrap.lua') 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 -- cgit v1.2.3