Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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