Fix the build process
This commit is contained in:
parent
3a4e594c57
commit
6ef19ac2f3
5 changed files with 3 additions and 4 deletions
BIN
bla/muri.zip
BIN
bla/muri.zip
Binary file not shown.
6
build.sh
6
build.sh
|
@ -1,8 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
rm -f muri-src.zip muri.zip
|
||||
uglifyjs --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)
|
||||
rm -f muri-src.zip muri.zip src/muri.min.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/* assets/**/* vendor/*.min.js)
|
||||
(cd src && zip -q -9 ../muri-src.zip *)
|
||||
|
||||
filesize=`stat --printf="%s" muri.zip`
|
||||
|
|
BIN
muri-src.zip
BIN
muri-src.zip
Binary file not shown.
BIN
muri.zip
BIN
muri.zip
Binary file not shown.
1
src/muri.min.js
vendored
1
src/muri.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue