OC_Scripts/minify_all.sh

10 lines
200 B
Bash
Raw Normal View History

2019-05-07 11:57:44 +00:00
#!/usr/bin/env bash
# Executes minify program on all lua scripts in the repo.
find . -name "*.lua" | lua minify.lua minify
for i in *.lua; do
echo "$i";
lua minify.lua minify "$i" > "min_$i"
done