aboutsummaryrefslogtreecommitdiff
path: root/compile_lib.sh
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-04-28 17:08:28 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-04-28 17:08:44 -0700
commitdf9a82a9711faf20c705d806fceab5c154b37f4c (patch)
tree7f873b6397772b65ef1c47a8e4db924ed17994af /compile_lib.sh
parentd13a945b5f8924c1416ea2bd72212efdb3bebc20 (diff)
Overhaul of command-line API. It's a bit cleaner now.
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 1776beb..6f79573 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 -c $file
+ ./nomsu.moon $file -o "$(basename $file .nom).lua"
echo "done."
done
for file in lib/*.nom; do
printf "Compiling $file ..."
- ./nomsu.moon -c $file
+ ./nomsu.moon $file -o "$(basename $file .nom).lua"
echo "done."
done
#for file in tests/*.nom; do