diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2017-10-08 18:23:48 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2017-10-08 18:23:48 -0700 |
| commit | 7c231bf43500d1727362a82d807233383dbf2791 (patch) | |
| tree | 816e7e9c26f64d9ebe26a55181a50353752f19cf /compile_lib.sh | |
| parent | 529afd465fbbfbf923831d8a33fc3ce349dc703f (diff) | |
Updated command line interface and compilation.
Diffstat (limited to 'compile_lib.sh')
| -rwxr-xr-x | compile_lib.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/compile_lib.sh b/compile_lib.sh new file mode 100755 index 0000000..c38cf87 --- /dev/null +++ b/compile_lib.sh @@ -0,0 +1,8 @@ +#!/bin/sh +for file in $(find lib/ -name "*.nom") ; do + luafile="$file.lua" + if [ ! -e "$luafile" ] || [ "$file" -nt "$luafile" ] ; then + echo "Compiling $file into $luafile" + ./nomsu.moon -c $file + fi +done |
