Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 40 lines (29 sloc) 0.732 kB
b940c7c @tj Initial commit
tj authored
1
6399e57 @tj Fixed filter text interpolation
tj authored
2 TESTS = test/*.js
04204b1 @tj Added client-side support
tj authored
3 SRC = $(shell find lib -name "*.js" -type f)
ce0fa62 @reedriley Added 'uglifyjs' as an explicit devDependency.
reedriley authored
4 UGLIFY = $(shell find node_modules -name "uglifyjs" -type f)
04204b1 @tj Added client-side support
tj authored
5 UGLIFY_FLAGS = --no-mangle
a9a5fd5 @tj Added install docs / seed.yml
tj authored
6
74e1344 @tj runtime.js make targets
tj authored
7 all: jade.min.js runtime.min.js
8
b940c7c @tj Initial commit
tj authored
9 test:
064aa7c @tj use mocha instead of expresso
tj authored
10 @./node_modules/.bin/mocha \
11 --ui exports \
12 $(TESTS)
af65d7c @tj Added `make test-cov`
tj authored
13
f88f9b6 @tj started benchmarks
tj authored
14 benchmark:
4523886 @tj Added `make benchmark` for continuous-bench
tj authored
15 @node support/benchmark
f88f9b6 @tj started benchmarks
tj authored
16
04204b1 @tj Added client-side support
tj authored
17 jade.js: $(SRC)
18 @node support/compile.js $^
19
20 jade.min.js: jade.js
ce0fa62 @reedriley Added 'uglifyjs' as an explicit devDependency.
reedriley authored
21 @$(UGLIFY) $(UGLIFY_FLAGS) $< > $@ \
07fa084 @tj Added disk usage stats to `make jade.min.js`
tj authored
22 && du jade.min.js \
23 && du jade.js
04204b1 @tj Added client-side support
tj authored
24
74e1344 @tj runtime.js make targets
tj authored
25 runtime.js: lib/runtime.js
26 @cat support/head.js $< support/foot.js > $@
27
28 runtime.min.js: runtime.js
ce0fa62 @reedriley Added 'uglifyjs' as an explicit devDependency.
reedriley authored
29 @$(UGLIFY) $(UGLIFY_FLAGS) $< > $@ \
74e1344 @tj runtime.js make targets
tj authored
30 && du runtime.min.js \
31 && du runtime.js
32
04204b1 @tj Added client-side support
tj authored
33 clean:
34 rm -f jade.js
35 rm -f jade.min.js
74e1344 @tj runtime.js make targets
tj authored
36 rm -f runtime.js
37 rm -f runtime.min.js
04204b1 @tj Added client-side support
tj authored
38
39 .PHONY: test benchmark clean
Something went wrong with that request. Please try again.