aboutsummaryrefslogtreecommitdiff
path: root/compile_lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'compile_lib.sh')
-rwxr-xr-xcompile_lib.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/compile_lib.sh b/compile_lib.sh
index c8d573e..8cdfcdb 100755
--- a/compile_lib.sh
+++ b/compile_lib.sh
@@ -24,3 +24,8 @@ for file in $(cat lib/core.nom | lua -e "for filename in io.read('*a'):gmatch('u
./nomsu.moon -c $file
echo "done."
done
+for file in $(cat tests/all.nom | lua -e "for filename in io.read('*a'):gmatch('run file \"([^\"]*)\"') do print(filename) end") ; do
+ printf "Compiling $file ..."
+ ./nomsu.moon -c $file
+ echo "done."
+done