UNPKG

627 BPlain TextView Raw
1
2LIB_PREFIX = ~/.node_libraries
3PREFIX = /usr/local
4
5install:
6 cp -f bin/jade $(PREFIX)/bin/jade
7 cp -f lib/jade.js $(LIB_PREFIX)/jade.js
8
9uninstall:
10 rm -f $(PREFIX)/bin/jade
11 rm -f $(LIB_PREFIX)/jade.js
12
13test:
14 @./support/expresso/bin/expresso -I lib test/*.js
15
16test-cov:
17 @./support/expresso/bin/expresso -I lib --cov test/*.js
18
19api.html: lib/jade.js
20 @dox --title "Jade" \
21 --desc "Jade is a high performance template engine for [node](http://nodejs.org), inspired by [haml](http://haml-lang.com/), created by [TJ Holowaychuk](http://github.com/visionmedia)." \
22 $< > $@
23
24.PHONY: install uninstall test test-cov example
\No newline at end of file