| OLD | NEW |
| 1 build: res/css/perf.css res/js/perf.js ingest | 1 build: res/css/perf.css res/js/perf.js ingest |
| 2 GOPATH=$(GOPATH):`pwd` go build -o perf -v server | 2 GOPATH=$(GOPATH):`pwd` go build -o perf -v server |
| 3 | 3 |
| 4 tile: | 4 tile: |
| 5 GOPATH=$(GOPATH):`pwd` go build -v tilebuilder | 5 GOPATH=$(GOPATH):`pwd` go build -v tilebuilder |
| 6 | 6 |
| 7 | 7 |
| 8 test: | 8 test: |
| 9 GOPATH=$(GOPATH):`pwd` go test kmeans ctrace | 9 GOPATH=$(GOPATH):`pwd` go test kmeans ctrace |
| 10 ./node_modules/.bin/grunt test | 10 ./node_modules/.bin/grunt test |
| 11 | 11 |
| 12 verbosetests: | 12 verbosetests: |
| 13 GOPATH=$(GOPATH):`pwd` go test kmeans ctrace -v | 13 GOPATH=$(GOPATH):`pwd` go test kmeans ctrace -v |
| 14 | 14 |
| 15 ingest: src/ingest/ingest.go src/ingest/ingest_main.go | 15 ingest: src/ingest/ingest.go src/ingest/ingest_main.go |
| 16 go build src/ingest/ingest.go src/ingest/ingest_main.go | 16 go build src/ingest/ingest.go src/ingest/ingest_main.go |
| 17 | 17 |
| 18 # Rebuild the third_party Javascript we use, i.e. Flot. | 18 # Rebuild the third_party Javascript we use, i.e. Flot. |
| 19 res/js/perf.js: node_modules | 19 res/js/perf.js: node_modules Gruntfile.js bower.json |
| 20 ./node_modules/.bin/grunt | 20 ./node_modules/.bin/grunt |
| 21 | 21 |
| 22 # Build serving CSS from input CSS. | 22 # Build serving CSS from input CSS. |
| 23 res/css/perf.css: node_modules res/css/main.css | 23 res/css/perf.css: node_modules res/css/main.css Gruntfile.js bower.json |
| 24 ./node_modules/.bin/grunt css | 24 ./node_modules/.bin/grunt css |
| 25 | 25 |
| 26 node_modules: package.json | 26 node_modules: package.json |
| 27 npm install | 27 npm install |
| 28 | 28 |
| 29 # Forcibly rebuild third_party JS | 29 # Forcibly rebuild third_party JS |
| 30 .PHONY: js | 30 .PHONY: js |
| 31 js: | 31 js: |
| 32 ./node_modules/.bin/grunt | 32 ./node_modules/.bin/grunt |
| 33 | 33 |
| 34 # Rebuild the third_party Javascript we use, but w/o minimizing it. | 34 # Rebuild the third_party Javascript we use, but w/o minimizing it. |
| 35 .PHONY: debug-js | 35 .PHONY: debug-js |
| 36 debug-js: | 36 debug-js: |
| 37 ./node_modules/.bin/grunt debug-js | 37 ./node_modules/.bin/grunt debug-js |
| 38 | 38 |
| OLD | NEW |