This repository has been archived on 2018-10-12. You can view files and clone it, but cannot push or open issues or pull requests.
node-task/node_modules/nodeunit/deps/ejs/Makefile
2014-09-18 15:35:58 -04:00

20 lines
318 B
Makefile

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