mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 15:23:29 -05:00
14 lines
No EOL
281 B
Makefile
14 lines
No EOL
281 B
Makefile
.PHONY: build clean
|
|
|
|
clean:
|
|
rm -rf build
|
|
|
|
build: build/squire.js build/document.html
|
|
|
|
build/squire.js: source/TreeWalker.js source/Node.js source/Range.js source/Editor.js
|
|
mkdir -p $(@D)
|
|
cat $^ | uglifyjs > $@
|
|
|
|
build/document.html: source/document.html
|
|
mkdir -p $(@D)
|
|
cp $^ $@
|