jade
Version:
Jade template engine
31 lines (24 loc) • 751 B
Plain Text
LIB_PREFIX = ~/.node_libraries
PREFIX = /usr/local
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 \
test/*.js
api.html: lib/jade.js
@dox --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