gtsocial-umbx

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

Makefile (900B)


      1 all: vet test testrace
      2 
      3 build:
      4 	go build google.golang.org/grpc/...
      5 
      6 clean:
      7 	go clean -i google.golang.org/grpc/...
      8 
      9 deps:
     10 	GO111MODULE=on go get -d -v google.golang.org/grpc/...
     11 
     12 proto:
     13 	@ if ! which protoc > /dev/null; then \
     14 		echo "error: protoc not installed" >&2; \
     15 		exit 1; \
     16 	fi
     17 	go generate google.golang.org/grpc/...
     18 
     19 test:
     20 	go test -cpu 1,4 -timeout 7m google.golang.org/grpc/...
     21 
     22 testsubmodule:
     23 	cd security/advancedtls && go test -cpu 1,4 -timeout 7m google.golang.org/grpc/security/advancedtls/...
     24 	cd security/authorization && go test -cpu 1,4 -timeout 7m google.golang.org/grpc/security/authorization/...
     25 
     26 testrace:
     27 	go test -race -cpu 1,4 -timeout 7m google.golang.org/grpc/...
     28 
     29 testdeps:
     30 	GO111MODULE=on go get -d -v -t google.golang.org/grpc/...
     31 
     32 vet: vetdeps
     33 	./vet.sh
     34 
     35 vetdeps:
     36 	./vet.sh -install
     37 
     38 .PHONY: \
     39 	all \
     40 	build \
     41 	clean \
     42 	proto \
     43 	test \
     44 	testrace \
     45 	vet \
     46 	vetdeps