OLD | NEW |
1 # The list of files we want to go into core.js, which is concat'd and | 1 # The list of files we want to go into core.js, which is concat'd and |
2 # minified. These files should be either present in the project, brought | 2 # minified. These files should be either present in the project, brought |
3 # into third_party/bower_components via bower, or in node_modules. | 3 # into third_party/bower_components via bower, or in node_modules. |
4 CORE_SOURCE_FILES = node_modules/native-promise-only/npo.js \ | 4 CORE_SOURCE_FILES = node_modules/native-promise-only/npo.js \ |
5 third_party/bower_components/webcomponen
tsjs/webcomponents-lite.min.js\ | 5 third_party/bower_components/webcomponen
tsjs/webcomponents-lite.min.js\ |
6 ../res/js/common.js | 6 ../res/js/common.js |
7 | 7 |
8 BOWER_DIR=third_party/bower_components | 8 BOWER_DIR=third_party/bower_components |
9 | 9 |
10 VULCANIZE1=true | 10 VULCANIZE1=true |
11 | 11 |
12 .PHONY: build | 12 .PHONY: build |
13 build: elements_html core_js | 13 build: elements_html core_js |
14 go install -v ./go/skiaperf | 14 go install -v ./go/skiaperf |
15 | 15 |
16 .PHONY: release | 16 .PHONY: release |
17 release: build | 17 release: build |
18 echo | 18 echo |
19 | 19 |
20 .PHONY: test | 20 .PHONY: test |
21 test: testgo | 21 test: testgo |
22 echo | 22 echo |
23 | 23 |
24 .PHONY: testgo | 24 .PHONY: testgo |
25 testgo: | 25 testgo: |
26 go test ./go/... | 26 go test ./go/... |
27 | 27 |
28 .PHONY: ingest | |
29 ingest: | |
30 go install -v ./go/ingest | |
31 | |
32 .PHONY: logs | 28 .PHONY: logs |
33 logs: | 29 logs: |
34 go install -v ../logserver/go/logserver | 30 go install -v ../logserver/go/logserver |
35 | 31 |
36 .PHONY: tool | 32 .PHONY: tool |
37 tool: | 33 tool: |
38 go install -v ./go/tiletool | 34 go install -v ./go/tiletool |
39 | 35 |
40 .PHONY: perf_migratedb | 36 .PHONY: perf_migratedb |
41 perf_migratedb: | 37 perf_migratedb: |
42 go install -v ./go/perf_migratedb | 38 go install -v ./go/perf_migratedb |
43 | 39 |
44 # Build debug versions of core.js and elements.html. | 40 # Build debug versions of core.js and elements.html. |
45 .PHONY: debug | 41 .PHONY: debug |
46 debug: clean_webtools debug_core_js debug_elements_html | 42 debug: clean_webtools debug_core_js debug_elements_html |
47 | 43 |
48 .PHONY: all | 44 .PHONY: all |
49 all: build ingest tool logs perf_migratedb | 45 all: build tool logs perf_migratedb |
50 | 46 |
51 .PHONY: tags | 47 .PHONY: tags |
52 tags: | 48 tags: |
53 -rm tags | 49 -rm tags |
54 find . -name "*.go" -print -or -name "*.js" -or -name "*.html" | xargs c
tags --append | 50 find . -name "*.go" -print -or -name "*.js" -or -name "*.html" | xargs c
tags --append |
55 | 51 |
56 include ../webtools/webtools.mk | 52 include ../webtools/webtools.mk |
OLD | NEW |