forked from jashkenas/backbone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
56 lines (42 loc) · 1.05 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.PHONY: all lib doc lint clean
all: lib doc
clean:
-@rm backbone-min.js
-@rm backbone-min.map
-@touch backbone.js
-@rm docs/backbone*.html
-@rm docs/todo*.html
lib: backbone-min.js
doc: \
docs/backbone.html \
docs/backbone.localStorage.html \
docs/todos.html \
lint:
rake lint
backbone-min.js: \
backbone.js \
package.json \
Rakefile \
index.html \
README.md \
index.js \
docs/jsl.conf \
Makefile
@echo "*** Regenerating backbone.js ***"
rake build
# rake lint
docs/backbone.html \
docs/backbone.localStorage.html \
docs/todos.html \
: \
package.json \
Rakefile \
index.html \
README.md \
index.js \
backbone.js \
docs/jsl.conf \
docs/docco.css \
Makefile
@echo "*** Regenerating backbone.js documentation ***"
rake doc