aks-engine-azurestack/Makefile

32 строки
578 B
Makefile
Исходник Обычный вид История

2016-10-24 20:32:22 +03:00
.NOTPARALLEL:
2017-03-09 01:36:40 +03:00
.PHONY: build test validate-generated fmt lint ci devenv
2017-01-10 23:29:27 +03:00
2017-02-22 00:40:31 +03:00
prereqs:
2017-02-09 22:18:57 +03:00
go get github.com/jteeuwen/go-bindata/...
2017-02-22 00:40:31 +03:00
build: prereqs
go generate -v ./...
go get .
2016-10-24 20:32:22 +03:00
go build -v
cd test/acs-engine-test; go build -v
2016-10-24 20:32:22 +03:00
2017-02-22 00:40:31 +03:00
test: prereqs
2016-10-24 20:32:22 +03:00
go test -v ./...
2017-02-22 00:40:31 +03:00
validate-generated: prereqs
2016-10-24 20:32:22 +03:00
./scripts/validate-generated.sh
2017-03-09 01:36:40 +03:00
fmt: prereqs
test -z "$$(gofmt -s -l . | tee /dev/stderr)"
2017-02-22 00:40:31 +03:00
lint: prereqs
go get -u github.com/golang/lint/golint
2016-10-24 20:32:22 +03:00
# TODO: fix lint errors, enable linting
# golint -set_exit_status
2017-03-09 01:36:40 +03:00
ci: validate-generated build fmt test lint
2016-10-24 20:32:22 +03:00
devenv:
./scripts/devenv.sh