diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-26 20:20:12 -0800 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-01-26 20:20:38 -0800 |
| commit | 90c56d31352a0eeccd382ef5921baf3af4971040 (patch) | |
| tree | 5167eafb5785c94b48458b18b0454222ca70c749 /compile_lib.sh | |
| parent | d5aa4e52983712f9f4c5b23528d0c2dab12b0b33 (diff) | |
Added a ton of tests for virtually all the functionality. Helped me find
and fix a lot of latent problems.
Diffstat (limited to 'compile_lib.sh')
| -rwxr-xr-x | compile_lib.sh | 5 |
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 |
