]>
Commit | Line | Data |
---|---|---|
107c1cdb | 1 | all: vet test testrace testappengine |
15c0b25d AP |
2 | |
3 | build: deps | |
4 | go build google.golang.org/grpc/... | |
5 | ||
107c1cdb ND |
6 | clean: |
7 | go clean -i google.golang.org/grpc/... | |
8 | ||
9 | deps: | |
10 | go get -d -v google.golang.org/grpc/... | |
11 | ||
15c0b25d AP |
12 | proto: |
13 | @ if ! which protoc > /dev/null; then \ | |
14 | echo "error: protoc not installed" >&2; \ | |
15 | exit 1; \ | |
16 | fi | |
107c1cdb | 17 | go generate google.golang.org/grpc/... |
15c0b25d AP |
18 | |
19 | test: testdeps | |
107c1cdb ND |
20 | go test -cpu 1,4 -timeout 7m google.golang.org/grpc/... |
21 | ||
22 | testappengine: testappenginedeps | |
23 | goapp test -cpu 1,4 -timeout 7m google.golang.org/grpc/... | |
24 | ||
25 | testappenginedeps: | |
26 | goapp get -d -v -t -tags 'appengine appenginevm' google.golang.org/grpc/... | |
27 | ||
28 | testdeps: | |
29 | go get -d -v -t google.golang.org/grpc/... | |
15c0b25d AP |
30 | |
31 | testrace: testdeps | |
107c1cdb | 32 | go test -race -cpu 1,4 -timeout 7m google.golang.org/grpc/... |
15c0b25d | 33 | |
107c1cdb ND |
34 | updatedeps: |
35 | go get -d -v -u -f google.golang.org/grpc/... | |
36 | ||
37 | updatetestdeps: | |
38 | go get -d -v -t -u -f google.golang.org/grpc/... | |
39 | ||
40 | vet: vetdeps | |
41 | ./vet.sh | |
15c0b25d | 42 | |
107c1cdb ND |
43 | vetdeps: |
44 | ./vet.sh -install | |
15c0b25d AP |
45 | |
46 | .PHONY: \ | |
47 | all \ | |
15c0b25d | 48 | build \ |
107c1cdb ND |
49 | clean \ |
50 | deps \ | |
15c0b25d AP |
51 | proto \ |
52 | test \ | |
107c1cdb ND |
53 | testappengine \ |
54 | testappenginedeps \ | |
55 | testdeps \ | |
15c0b25d | 56 | testrace \ |
107c1cdb ND |
57 | updatedeps \ |
58 | updatetestdeps \ | |
59 | vet \ | |
60 | vetdeps |