Chromium Code Reviews| Index: milo/Makefile |
| diff --git a/milo/Makefile b/milo/Makefile |
| index b5175044e0f435b49cff845e01cab34a146f0dfe..81e2de59ed3d2f97f531409bdc982c5e11b95b95 100644 |
| --- a/milo/Makefile |
| +++ b/milo/Makefile |
| @@ -8,8 +8,21 @@ projdir := $(patsubst %/,%,$(dir $(mkfile_path))) |
| dev: |
| $(projdir)/../../../../../../luci/appengine/components/tools/gae.py devserver --app-dir $(projdir)/appengine -- --host 0.0.0.0 --port 8082 --admin_port 7999 --log_level debug |
| -up: |
| - $(projdir)/../../../../../../luci/appengine/components/tools/gae.py upload -A luci-milo --app-dir $(projdir)/appengine |
| +# This is intentionally not dependent on the two below to avoid |
| +# asking for user confirmation twice. |
| +up: up-both up-dispatch |
| + |
| +up-both: |
| + $(projdir)/../../../../../../luci/appengine/components/tools/gae.py upload -A luci-milo --app-dir $(projdir)/appengine default pubsub |
| + |
| +up-default: |
| + $(projdir)/../../../../../../luci/appengine/components/tools/gae.py upload -A luci-milo --app-dir $(projdir)/appengine default |
| + |
| +up-pubsub: |
| + $(projdir)/../../../../../../luci/appengine/components/tools/gae.py upload -A luci-milo --app-dir $(projdir)/appengine pubsub |
| + |
| +up-dispatch: |
| + appcfg.py -A luci-milo update_dispatch $(projdir)/appengine/frontend |
|
hinoka
2017/03/17 23:45:33
Doesn't seem like gae.py does this for you...
nodir
2017/03/20 22:22:57
true
|
| test: |
| go test ./... |