Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright 2014 The LUCI Authors. All rights reserved. | 1 # Copyright 2014 The LUCI Authors. All rights reserved. |
| 2 # Use of this source code is governed under the Apache License, Version 2.0 | 2 # Use of this source code is governed under the Apache License, Version 2.0 |
| 3 # that can be found in the LICENSE file. | 3 # that can be found in the LICENSE file. |
| 4 | 4 |
| 5 mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST))) | 5 mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST))) |
| 6 projdir := $(patsubst %/,%,$(dir $(mkfile_path))) | 6 projdir := $(patsubst %/,%,$(dir $(mkfile_path))) |
| 7 | 7 |
| 8 dev: | 8 dev: |
| 9 $(projdir)/../../../../../../luci/appengine/components/tools/gae.py devs erver --app-dir $(projdir)/appengine -- --host 0.0.0.0 --port 8082 --admin_port 7999 --log_level debug | 9 $(projdir)/../../../../../../luci/appengine/components/tools/gae.py devs erver --app-dir $(projdir)/appengine -- --host 0.0.0.0 --port 8082 --admin_port 7999 --log_level debug |
| 10 | 10 |
| 11 up: | 11 # This is intentionally not dependent on the two below to avoid |
| 12 » $(projdir)/../../../../../../luci/appengine/components/tools/gae.py uplo ad -A luci-milo --app-dir $(projdir)/appengine | 12 # asking for user confirmation twice. |
| 13 up: up-both up-dispatch | |
| 14 | |
| 15 up-both: | |
| 16 » $(projdir)/../../../../../../luci/appengine/components/tools/gae.py uplo ad -A luci-milo --app-dir $(projdir)/appengine default pubsub | |
| 17 | |
| 18 up-default: | |
| 19 » $(projdir)/../../../../../../luci/appengine/components/tools/gae.py uplo ad -A luci-milo --app-dir $(projdir)/appengine default | |
| 20 | |
| 21 up-pubsub: | |
| 22 » $(projdir)/../../../../../../luci/appengine/components/tools/gae.py uplo ad -A luci-milo --app-dir $(projdir)/appengine pubsub | |
| 23 | |
| 24 up-dispatch: | |
| 25 » 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
| |
| 13 | 26 |
| 14 test: | 27 test: |
| 15 go test ./... | 28 go test ./... |
| 16 | 29 |
| 17 train: gen | 30 train: gen |
| 18 go test ./... -test.generate | 31 go test ./... -test.generate |
| 19 | 32 |
| 20 gen: | 33 gen: |
| 21 go generate ./... | 34 go generate ./... |
| OLD | NEW |