node-query/node_modules/nodeunit/deps/ejs/Makefile

20 lines
318 B
Makefile
Raw Normal View History

2014-10-20 16:56:45 -04:00
SRC = $(shell find lib -name "*.js" -type f)
UGLIFY_FLAGS = --no-mangle
test:
@./node_modules/.bin/expresso test/*.test.js
ejs.js: $(SRC)
@node support/compile.js $^
ejs.min.js: ejs.js
@uglifyjs $(UGLIFY_FLAGS) $< > $@ \
&& du ejs.min.js \
&& du ejs.js
clean:
rm -f ejs.js
rm -f ejs.min.js
.PHONY: test