diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-22 02:40:11 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-22 02:41:08 -0700 |
| commit | 126678f737497d36126665b4661c17588c6d58d8 (patch) | |
| tree | 0a2b877920ef23800e89b1906d061d314a8d3ca4 /nomsu_compiler.lua | |
| parent | 86a3219e7fc3244331595819f742b365172f96ad (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_compiler.lua')
| -rw-r--r-- | nomsu_compiler.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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] |
