| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 test: | 5 test: |
| 6 ./node_modules/karma/bin/karma start | 6 ./node_modules/karma/bin/karma start |
| 7 | 7 |
| 8 single-test: | 8 single-test: |
| 9 ./node_modules/karma/bin/karma start --single-run | 9 ./node_modules/karma/bin/karma start --single-run |
| 10 | 10 |
| 11 vulcanize: | 11 vulcanize: |
| 12 mkdir -p ./gen | 12 mkdir -p ./gen |
| 13 ./node_modules/vulcanize/bin/vulcanize sheriff-o-matic.html -o gen/index
.html | 13 ./node_modules/vulcanize/bin/vulcanize sheriff-o-matic.html -o gen/index
.html |
| 14 | 14 |
| 15 deploy-staging: vulcanize | 15 deploy-staging: vulcanize |
| 16 » appcfg.py --oauth2 update -A sheriff-o-matic-staging . --version `git re
v-parse --short HEAD` | 16 » appcfg.py update_dispatch -A sheriff-o-matic-staging . |
| 17 » appcfg.py update -A sheriff-o-matic-staging . --version `git rev-parse -
-short HEAD` |
| 18 |
| 19 deploy-staging-monitoring: |
| 20 » appcfg.py update -A sheriff-o-matic-staging appengine_module/gae_ts_mon/
monitoring.yaml --version `git rev-parse --short HEAD` |
| 17 | 21 |
| 18 deploy-prod: vulcanize | 22 deploy-prod: vulcanize |
| 19 » appcfg.py --oauth2 update . --version `git rev-parse --short HEAD` | 23 » appcfg.py update . --version `git rev-parse --short HEAD` |
| 24 » appcfg.py update_dispatch -A sheriff-o-matic . |
| 25 » appcfg.py update -A sheriff-o-matic appengine_module/gae_ts_mon/monitori
ng.yaml --version `git rev-parse --short HEAD` |
| 20 | 26 |
| 21 .PHONY: test single-test | 27 .PHONY: test single-test |
| 28 |
| OLD | NEW |