forked from pugjs/pug
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (27 loc) · 785 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
LIB_PREFIX = ~/.node_libraries
PREFIX = /usr/local
TESTS = test/*.js
install:
cp -f bin/jade $(PREFIX)/bin/jade
cp -f lib/jade.js $(LIB_PREFIX)/jade.js
uninstall:
rm -f $(PREFIX)/bin/jade
rm -f $(LIB_PREFIX)/jade.js
test:
@./support/expresso/bin/expresso \
-I lib \
-I support/markdown/lib \
-I support/sass/lib \
$(TESTS)
api.html: lib/jade.js
@dox \
--private \
--title "Jade" \
--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)." \
$< > $@
benchmark:
@node benchmarks/jade.js && \
node benchmarks/haml.js && \
node benchmarks/haml2.js && \
node benchmarks/ejs.js
.PHONY: install uninstall test example benchmark