aboutsummaryrefslogtreecommitdiff
path: root/compile_lib.sh
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-04-28 19:37:51 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-04-28 19:38:03 -0700
commit85c5511fa5ef9df0520fe71c75d4931de065b468 (patch)
tree62ccfd34708cdf04b84241dc1941ffdc6024b146 /compile_lib.sh
parent05528c50ecb00e86936c10f908d01de943cf0227 (diff)
Fixed compile_lib and cleaned up control_flow
Diffstat (limited to 'compile_lib.sh')
-rwxr-xr-xcompile_lib.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/compile_lib.sh b/compile_lib.sh
index 6f79573..71fe1ad 100755
--- a/compile_lib.sh
+++ b/compile_lib.sh
@@ -18,12 +18,12 @@ fi
for file in core/*.nom; do
printf "Compiling $file ..."
- ./nomsu.moon $file -o "$(basename $file .nom).lua"
+ ./nomsu.moon -o "$(basename $file .nom).lua" $file
echo "done."
done
for file in lib/*.nom; do
printf "Compiling $file ..."
- ./nomsu.moon $file -o "$(basename $file .nom).lua"
+ ./nomsu.moon -o "$(basename $file .nom).lua" $file
echo "done."
done
#for file in tests/*.nom; do