Readd image compression
This commit is contained in:
parent
7724f0d959
commit
3313148543
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -5,7 +5,7 @@ all: build stat clean
|
||||||
build:
|
build:
|
||||||
rm -f muri-src.zip muri.zip src/muri.min.js
|
rm -f muri-src.zip muri.zip src/muri.min.js
|
||||||
uglifyjs --compress --mangle --no-dead-code --output src/muri.min.js src/*.js
|
uglifyjs --compress --mangle --no-dead-code --output src/muri.min.js src/*.js
|
||||||
#(cd src/assets/images; for i in `ls *.png`; do pngcrush -brute -reduce_palette -ow $$i; done)
|
(cd src/assets/images; for i in `ls *.png`; do pngcrush -brute -reduce_palette -ow $$i; done)
|
||||||
(cd src && zip -q -9 ../muri.zip index.html muri.min.js assets/* assets/**/* vendor/*.min.js)
|
(cd src && zip -q -9 ../muri.zip index.html muri.min.js assets/* assets/**/* vendor/*.min.js)
|
||||||
(cd src && zip -q -9 ../muri-src.zip ./* ./**/* ./**/**/* ../README)
|
(cd src && zip -q -9 ../muri-src.zip ./* ./**/* ./**/**/* ../README)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue