Add utility for minifying assets
This commit is contained in:
parent
98e782d8e1
commit
77a558af1d
@ -1,2 +1,3 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
stylua --check mods
|
stylua --check mods
|
||||||
for f in mods/*; do if [ -f "$f/.luacheckrc" ]; then luacheck "$f" --config "$f/.luacheckrc"; fi done
|
for f in mods/*; do if [ -f "$f/.luacheckrc" ]; then luacheck "$f" --config "$f/.luacheckrc"; fi done
|
||||||
|
3
utils/minify_assets.sh
Normal file
3
utils/minify_assets.sh
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
shopt -s globstar # make ** match recursively
|
||||||
|
optipng -o7 ./**/*.png
|
Loading…
x
Reference in New Issue
Block a user