diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-12 18:04:18 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-06-12 18:04:41 -0700 |
| commit | 3c510e4ee5027aa5191e994bdf0a080a32a4b082 (patch) | |
| tree | b8d740f6ce0e263faa92967a63d16af07f3d45e7 /compile_lib.sh | |
| parent | b5fb8933af283d2b873a03ded085e8b69f374e81 (diff) | |
Lots of optimizations and simplifications, especially towards getting
better performance on luajit.
Diffstat (limited to 'compile_lib.sh')
| -rwxr-xr-x | compile_lib.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compile_lib.sh b/compile_lib.sh index fa932b3..d7df5f8 100755 --- a/compile_lib.sh +++ b/compile_lib.sh @@ -6,11 +6,11 @@ moonc *.moon rm -f core/*.lua lib/*.lua for file in core/*.nom; do printf "Compiling $file ..." - lua ./nomsu.lua -O -o "core/$(basename $file .nom).lua" $file + luajit ./nomsu.lua -O -o "core/$(basename $file .nom).lua" $file echo "done." done for file in lib/*.nom; do printf "Compiling $file ..." - lua ./nomsu.lua -O -o "lib/$(basename $file .nom).lua" $file + luajit ./nomsu.lua -O -o "lib/$(basename $file .nom).lua" $file echo "done." done |
