go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/milo/Makefile (about) 1 # Copyright 2014 The LUCI Authors. All rights reserved. 2 # Use of this source code is governed under the Apache License, Version 2.0 3 # that can be found in the LICENSE file. 4 5 mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST))) 6 projdir := $(patsubst %/,%,$(dir $(mkfile_path))) 7 8 up-dev: build-ui 9 gae.py upload -p ./ -A luci-milo-dev 10 11 up-dev-default: build-ui 12 gae.py upload -p ./ -A luci-milo-dev default 13 14 test: 15 go test ./... 16 17 train: gen 18 go test ./... -test.generate 19 20 gen: 21 go generate ./... 22 23 build-ui: 24 cd ui && make build