94.2.8
by Benjamin Saller
make beautify in prep for trunk merge |
1 |
FILES=$(shell bzr ls -RV -k file | grep -v assets/ | grep -v app/templates.js | grep -v server.js) |
2 |
NODE_TARGETS=node_modules/chai node_modules/d3 node_modules/jshint \ |
|
197.1.2
by Benji York
it works |
3 |
node_modules/yui node_modules/yuidoc |
155.2.8
by Brad Crittenden
Fixed Makefile and test failures |
4 |
TEMPLATE_TARGETS=$(shell bzr ls -k file app/templates) |
205.1.1
by Matthew Scott
Make target to update timestamp in manifest.appcache |
5 |
DATE=$(shell date -u) |
6 |
APPCACHE=app/assets/manifest.appcache |
|
94.2.8
by Benjamin Saller
make beautify in prep for trunk merge |
7 |
|
197.1.2
by Benji York
it works |
8 |
all: install |
94.2.8
by Benjamin Saller
make beautify in prep for trunk merge |
9 |
|
10 |
app/templates.js: $(TEMPLATE_TARGETS) bin/generateTemplates |
|
155.2.11
by Brad Crittenden
Fixed makefile |
11 |
@./bin/generateTemplates |
94.2.8
by Benjamin Saller
make beautify in prep for trunk merge |
12 |
|
197.1.2
by Benji York
it works |
13 |
yuidoc: $(FILES) |
14 |
@node_modules/.bin/yuidoc -o yuidoc -x assets app |
|
15 |
||
94.2.8
by Benjamin Saller
make beautify in prep for trunk merge |
16 |
$(NODE_TARGETS): package.json |
155.2.11
by Brad Crittenden
Fixed makefile |
17 |
@npm install |
18 |
@#link depends
|
|
19 |
@ln -sf `pwd`/node_modules/yui ./app/assets/javascripts/ |
|
20 |
@ln -sf `pwd`/node_modules/d3/d3.v2* ./app/assets/javascripts/ |
|
94.2.8
by Benjamin Saller
make beautify in prep for trunk merge |
21 |
|
197.1.8
by Benji York
freshen from trunk |
22 |
install: appcache $(NODE_TARGETS) app/templates.js yuidoc |
94.2.8
by Benjamin Saller
make beautify in prep for trunk merge |
23 |
|
24 |
gjslint: virtualenv/bin/gjslint |
|
197.1.2
by Benji York
it works |
25 |
@virtualenv/bin/gjslint --strict --nojsdoc --jslint_error=all \ |
26 |
--custom_jsdoc_tags \
|
|
27 |
property,default,since,method,module,submodule,namespace \
|
|
28 |
$(FILES) |
|
94.2.8
by Benjamin Saller
make beautify in prep for trunk merge |
29 |
|
30 |
jshint: node_modules/jshint |
|
155.2.11
by Brad Crittenden
Fixed makefile |
31 |
@node_modules/jshint/bin/hint $(FILES) |
94.2.8
by Benjamin Saller
make beautify in prep for trunk merge |
32 |
|
33 |
lint: gjslint jshint |
|
34 |
||
35 |
virtualenv/bin/gjslint virtualenv/bin/fixjsstyle: |
|
155.2.11
by Brad Crittenden
Fixed makefile |
36 |
@virtualenv virtualenv |
37 |
@virtualenv/bin/easy_install archives/closure_linter-latest.tar.gz |
|
94.2.8
by Benjamin Saller
make beautify in prep for trunk merge |
38 |
|
39 |
beautify: virtualenv/bin/fixjsstyle |
|
155.2.11
by Brad Crittenden
Fixed makefile |
40 |
@virtualenv/bin/fixjsstyle --strict --nojsdoc --jslint_error=all $(FILES) |
94.2.8
by Benjamin Saller
make beautify in prep for trunk merge |
41 |
|
42 |
prep: beautify lint |
|
71.1.1
by Benjamin Saller
make test opens test/index |
43 |
|
90.2.1
by Benjamin Saller
very simple (linear) pan/zoom support |
44 |
test: install |
155.2.11
by Brad Crittenden
Fixed makefile |
45 |
@./test-server.sh |
94.2.1
by Benjamin Saller
checkpoint to merge trunk for getByModelId calls |
46 |
|
82.4.1
by Brad Crittenden
Added lint |
47 |
server: install |
155.2.11
by Brad Crittenden
Fixed makefile |
48 |
@echo "Customize config.js to modify server settings"
|
49 |
@node server.js |
|
12
by Benjamin Saller
Includings basic router |
50 |
|
90.2.1
by Benjamin Saller
very simple (linear) pan/zoom support |
51 |
clean: |
155.2.11
by Brad Crittenden
Fixed makefile |
52 |
@rm -rf node_modules virtualenv |
53 |
@make -C docs clean |
|
90.2.1
by Benjamin Saller
very simple (linear) pan/zoom support |
54 |
|
205.1.4
by Matthew Scott
Make target to update timestamp in manifest.appcache |
55 |
$(APPCACHE): manifest.appcache.in |
56 |
@cp manifest.appcache.in $(APPCACHE) |
|
205.1.1
by Matthew Scott
Make target to update timestamp in manifest.appcache |
57 |
@sed -re 's/^\# TIMESTAMP .+$$/\# TIMESTAMP $(DATE)/' -i $(APPCACHE) |
58 |
||
205.1.4
by Matthew Scott
Make target to update timestamp in manifest.appcache |
59 |
appcache: $(APPCACHE) |
60 |
||
205.1.5
by Matthew Scott
Make target to update timestamp in manifest.appcache |
61 |
# A target used only for forcibly updating the appcache.
|
205.1.4
by Matthew Scott
Make target to update timestamp in manifest.appcache |
62 |
appcache-touch: |
63 |
@touch manifest.appcache.in |
|
64 |
||
205.1.5
by Matthew Scott
Make target to update timestamp in manifest.appcache |
65 |
# This is the real target. appcache-touch needs to be executed before
|
66 |
# appcache, and this provides the correct order.
|
|
205.1.4
by Matthew Scott
Make target to update timestamp in manifest.appcache |
67 |
appcache-force: appcache-touch appcache |
68 |
||
205.1.5
by Matthew Scott
Make target to update timestamp in manifest.appcache |
69 |
.PHONY: test lint beautify server install clean prep jshint gjslint \ |
70 |
appcache appcache-touch appcache-force |