From 126678f737497d36126665b4661c17588c6d58d8 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Fri, 22 Jun 2018 02:40:11 -0700 Subject: 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. --- nomsu.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nomsu.lua') 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 -- cgit v1.2.3