0
Fork 0
mirror of https://github.com/fastmail/Squire.git synced 2024-12-22 07:13:08 -05:00

Update Makefile to use uglifyjs2.

* Takes different options as parameters.
This commit is contained in:
Neil Jenkins 2013-01-24 11:53:22 +11:00
parent 45711a38a4
commit f08fe04bb2

View file

@ -7,11 +7,11 @@ build: build/ie8.js build/squire.js build/document.html
build/ie8.js: source/ie8types.js source/ie8dom.js source/ie8range.js
mkdir -p $(@D)
cat $^ | uglifyjs > $@
uglifyjs $^ -c -m -o $@
build/squire.js: source/UA.js source/TreeWalker.js source/Node.js source/Range.js source/Editor.js
mkdir -p $(@D)
cat $^ | uglifyjs > $@
uglifyjs $^ -c -m -o $@
build/document.html: source/document.html
mkdir -p $(@D)