2018-09-05 01:10:01 +03:00
|
|
|
all: vet test testrace testappengine
|
2015-05-24 17:05:35 +03:00
|
|
|
|
|
|
|
build: deps
|
2015-05-24 17:27:48 +03:00
|
|
|
go build google.golang.org/grpc/...
|
2015-05-24 17:05:35 +03:00
|
|
|
|
2018-09-05 01:10:01 +03:00
|
|
|
clean:
|
|
|
|
go clean -i google.golang.org/grpc/...
|
|
|
|
|
|
|
|
deps:
|
|
|
|
go get -d -v google.golang.org/grpc/...
|
|
|
|
|
2015-05-24 17:14:32 +03:00
|
|
|
proto:
|
|
|
|
@ if ! which protoc > /dev/null; then \
|
|
|
|
echo "error: protoc not installed" >&2; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
2017-08-18 02:00:51 +03:00
|
|
|
go generate google.golang.org/grpc/...
|
2015-05-24 17:14:32 +03:00
|
|
|
|
2015-06-13 04:17:36 +03:00
|
|
|
test: testdeps
|
2018-09-21 01:45:40 +03:00
|
|
|
go test -cpu 1,4 -timeout 7m google.golang.org/grpc/...
|
2015-05-24 17:05:35 +03:00
|
|
|
|
2018-09-05 01:10:01 +03:00
|
|
|
testappengine: testappenginedeps
|
2018-09-21 01:45:40 +03:00
|
|
|
goapp test -cpu 1,4 -timeout 7m google.golang.org/grpc/...
|
2018-09-05 01:10:01 +03:00
|
|
|
|
|
|
|
testappenginedeps:
|
|
|
|
goapp get -d -v -t -tags 'appengine appenginevm' google.golang.org/grpc/...
|
|
|
|
|
|
|
|
testdeps:
|
|
|
|
go get -d -v -t google.golang.org/grpc/...
|
|
|
|
|
2015-06-13 04:17:36 +03:00
|
|
|
testrace: testdeps
|
2017-11-01 00:07:09 +03:00
|
|
|
go test -race -cpu 1,4 -timeout 7m google.golang.org/grpc/...
|
2015-05-24 17:05:35 +03:00
|
|
|
|
2018-09-05 01:10:01 +03:00
|
|
|
updatedeps:
|
|
|
|
go get -d -v -u -f google.golang.org/grpc/...
|
2018-06-21 23:09:46 +03:00
|
|
|
|
2018-09-05 01:10:01 +03:00
|
|
|
updatetestdeps:
|
|
|
|
go get -d -v -t -u -f google.golang.org/grpc/...
|
|
|
|
|
|
|
|
vet: vetdeps
|
|
|
|
./vet.sh
|
|
|
|
|
|
|
|
vetdeps:
|
|
|
|
./vet.sh -install
|
2015-09-29 03:40:23 +03:00
|
|
|
|
2016-03-29 01:05:04 +03:00
|
|
|
.PHONY: \
|
|
|
|
all \
|
|
|
|
build \
|
2018-09-05 01:10:01 +03:00
|
|
|
clean \
|
|
|
|
deps \
|
2016-03-29 01:05:04 +03:00
|
|
|
proto \
|
|
|
|
test \
|
2018-09-05 01:10:01 +03:00
|
|
|
testappengine \
|
|
|
|
testappenginedeps \
|
|
|
|
testdeps \
|
2016-03-29 01:05:04 +03:00
|
|
|
testrace \
|
2018-09-05 01:10:01 +03:00
|
|
|
updatedeps \
|
|
|
|
updatetestdeps \
|
|
|
|
vet \
|
|
|
|
vetdeps
|