Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (17 sloc) 0.358 kB
SRC = $(shell find lib -name "*.js" -type f)
UGLIFY_FLAGS = --no-mangle
all: ejs.min.js
test:
@./node_modules/.bin/mocha \
--require should \
--reporter spec
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
Jump to Line
Something went wrong with that request. Please try again.