aboutsummaryrefslogtreecommitdiff
path: root/nomsu.lua
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-06-22 02:40:11 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-06-22 02:41:08 -0700
commit126678f737497d36126665b4661c17588c6d58d8 (patch)
tree0a2b877920ef23800e89b1906d061d314a8d3ca4 /nomsu.lua
parent86a3219e7fc3244331595819f742b365172f96ad (diff)
Adding fancy makefile that compiles all the moonscript files and
precompiles all the nomsu files and can build a nice executable file and install it wherever you like.
Diffstat (limited to 'nomsu.lua')
-rw-r--r--nomsu.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu.lua b/nomsu.lua
index b561eb9..7239d44 100644
--- a/nomsu.lua
+++ b/nomsu.lua
@@ -169,7 +169,6 @@ run = function()
else
print_file = io.stdout
end
- nomsu.skip_precompiled = not args.optimized
if print_file == nil then
nomsu.print = function() end
elseif print_file ~= io.stdout then
@@ -195,6 +194,7 @@ run = function()
to_run[f] = true
end
end
+ nomsu.skip_precompiled = to_run
if args.compile or args.verbose then
nomsu.on_compile = function(code, from_file)
if not (to_run[from_file]) then