Chromium Code Reviews| Index: fuzzer/Makefile |
| diff --git a/webtry/Makefile b/fuzzer/Makefile |
| similarity index 67% |
| copy from webtry/Makefile |
| copy to fuzzer/Makefile |
| index cf17b292f21147af57b25a989cc0f3b43bfb1a1d..3850a8d363fc858bed02788423fe378477d83d71 100644 |
| --- a/webtry/Makefile |
| +++ b/fuzzer/Makefile |
| @@ -2,17 +2,13 @@ |
| # minified. These files should be either present in the project, brought |
| # into third_party/bower_compoents via bower, or in node_modules. |
| CORE_SOURCE_FILES = third_party/bower_components/webcomponentsjs/webcomponents.min.js \ |
| - ../res/js/common.js \ |
| - third_party/bower_components/jquery/dist/jquery.min.js \ |
| - third_party/bower_components/bootstrap/dist/js/bootstrap.min.js \ |
| - third_party/bower_components/codemirror/lib/codemirror.js \ |
| - third_party/bower_components/codemirror/mode/clike/clike.js |
| + ../res/js/common.js |
| BOWER_DIR=third_party/bower_components |
| .PHONY: build |
| -build: res/css/webtry.css core_js elements_html |
| - ./build |
| +build: res/css/fuzzer.css core_js elements_html |
| + go install -v ./go/fuzzer |
| .PHONY: ver |
| ver: H=$(shell echo `git log -n 1 --format=format:%H`) |
| @@ -25,20 +21,40 @@ ver: |
| release: ver build |
| echo |
| +.PHONY: test |
| +test: testgo testjs |
| + echo |
| + |
| +.PHONY: testgo |
| +testgo: |
| + go test ./go/... |
| + |
| .PHONY: testjs |
| testjs: |
| ./node_modules/karma/bin/karma start karma.conf.js |
| +.PHONY: randomizer |
| +randomizer: |
| + go install -v ./go/randomizer |
| + |
| +.PHONY: aggregator |
| +aggregator: |
| + go install -v ./go/aggregator |
| + |
| +.PHONY: sanitizer |
| +sanitizer: |
| + go install -v ./go/sanitizer |
| + |
| # Build serving CSS from input CSS. |
| -res/css/webtry.css: node_modules/lastupdate res/webtry/css/webtry.css |
| - ./node_modules/.bin/autoprefixer res/webtry/css/webtry.css -o res/css/webtry.css |
| +res/css/fuzzer.css: node_modules/lastupdate res/css/main.css |
|
jcgregorio
2015/02/11 13:32:23
You should also have an entry in .gitignore for re
|
| + ./node_modules/.bin/autoprefixer res/css/main.css -o res/css/fuzzer.css |
| # Build debug versions of core.js and elements.html. |
| .PHONY: debug |
| debug: clean_webtools debug_core_js debug_elements_html |
| .PHONY: all |
| -all: build tool logs |
| +all: build randomizer aggregator sanitizer |
| .PHONY: tags |
| tags: |