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_compiler.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nomsu_compiler.lua') diff --git a/nomsu_compiler.lua b/nomsu_compiler.lua index d093ff5..0e3a27c 100644 --- a/nomsu_compiler.lua +++ b/nomsu_compiler.lua @@ -465,7 +465,7 @@ do ret = self:run_lua(file, Source(filename, 1, #file)) elseif match(filename, "%.nom$") or match(filename, "^/dev/fd/[012]$") then local ran_lua - if not self.skip_precompiled then + if not self.skip_precompiled or not self.skip_precompiled[filename] then local lua_filename = gsub(filename, "%.nom$", ".lua") do local file = FILE_CACHE[lua_filename] -- cgit v1.2.3