mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 07:13:08 -05:00
Updated Makefile
This commit is contained in:
parent
65e2f62073
commit
0394b4c3d8
1 changed files with 5 additions and 2 deletions
7
Makefile
7
Makefile
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue