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

Updated Makefile

This commit is contained in:
Rafał Filipek 2014-12-08 10:46:35 +01:00
parent 65e2f62073
commit 0394b4c3d8

View file

@ -1,6 +1,9 @@
.PHONY: all build clean
all: build
all: install build
intall:
npm install
clean:
rm -rf build
@ -12,7 +15,7 @@ build/squire-raw.js: source/intro.js source/Constants.js source/TreeWalker.js so
cat $^ >$@
build/squire.js: build/squire-raw.js
uglifyjs $^ -c -m -o $@
./node_modules/uglify-js/bin/uglifyjs $^ -c -m -o $@
build/document.html: source/document.html
mkdir -p $(@D)