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.moon | |
| 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.moon')
| -rwxr-xr-x | nomsu.moon | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -135,7 +135,6 @@ run = -> elseif args.print_file then io.open(args.print_file, 'w') else io.stdout - nomsu.skip_precompiled = not args.optimized if print_file == nil nomsu.print = -> elseif print_file != io.stdout @@ -155,6 +154,8 @@ run = -> input_files[#input_files+1] = f to_run[f] = true + nomsu.skip_precompiled = to_run + if args.compile or args.verbose nomsu.on_compile = (code, from_file)-> return unless to_run[from_file] |
