diff options
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 |
