tes
This commit is contained in:
parent
5c550c8b26
commit
6ab609b753
1 changed files with 3 additions and 1 deletions
4
build.sh
4
build.sh
|
@ -1,4 +1,6 @@
|
|||
#!/bin/bash
|
||||
# enable globbing properly
|
||||
shopt -s extglob
|
||||
|
||||
# create the build dir if it doesn't already exist
|
||||
mkdir -p ./build
|
||||
|
@ -30,7 +32,7 @@ if [[ -e oxipng.tar.gz ]]; then
|
|||
mv ./oxipng* ./oxipngdir
|
||||
mv ./oxipngdir/oxipng ./oxipng
|
||||
chmod +x oxipng
|
||||
oxipng -o max --strip all --alpha **/*.png
|
||||
oxipng -o max --strip all --alpha $(find . -name "*.png" -type f)
|
||||
fi
|
||||
|
||||
# remove all the gimp files (those don't do anything in the final build)
|
||||
|
|
Loading…
Reference in a new issue