Fix the build process

This commit is contained in:
Aaron Fischer 2017-08-21 21:15:28 +02:00
parent 3a4e594c57
commit 6ef19ac2f3
5 changed files with 3 additions and 4 deletions

Binary file not shown.

View file

@ -1,8 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
rm -f muri-src.zip muri.zip rm -f muri-src.zip muri.zip src/muri.min.js
uglifyjs --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 && zip -q -9 ../muri.zip index.html muri.min.js 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 *) (cd src && zip -q -9 ../muri-src.zip *)
filesize=`stat --printf="%s" muri.zip` filesize=`stat --printf="%s" muri.zip`

Binary file not shown.

BIN
muri.zip

Binary file not shown.

1
src/muri.min.js vendored

File diff suppressed because one or more lines are too long