| 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 -- --host 0.0.0.0 --port 8082 --admin_port 7999 --log_level debug | 9 $(projdir)/../../../../../../luci/appengine/components/tools/gae.py devs
erver -- --host 0.0.0.0 --port 8082 --admin_port 7999 --log_level debug |
| 10 | 10 |
| 11 up: | 11 up: |
| 12 $(projdir)/../../../../../../luci/appengine/components/tools/gae.py uplo
ad -A luci-milo --app-dir $(projdir)/appengine | 12 $(projdir)/../../../../../../luci/appengine/components/tools/gae.py uplo
ad -A luci-milo --app-dir $(projdir)/appengine |
| 13 | 13 |
| 14 test: | 14 test: |
| 15 go test ./... | 15 go test ./... |
| 16 | 16 |
| 17 train: | 17 train: gen |
| 18 go test ./... -test.generate | 18 go test ./... -test.generate |
| 19 |
| 20 gen: |
| 21 go generate ./... |
| OLD | NEW |