uint64 -> int64

This commit is contained in:
Ethan Buchman
2017-12-01 00:41:07 -05:00
parent b59fe60e65
commit 0ad7dea71f
8 changed files with 148 additions and 144 deletions
+5 -3
View File
@@ -6,6 +6,8 @@ GOTOOLS = \
github.com/gogo/protobuf/protoc-gen-gogo \
github.com/gogo/protobuf/gogoproto
INCLUDE = -I=. -I=${GOPATH}/src -I=${GOPATH}/src/github.com/gogo/protobuf/protobuf
all: install test
PACKAGES=$(shell go list ./... | grep -v '/vendor/')
@@ -24,7 +26,7 @@ protoc:
## On "error while loading shared libraries: libprotobuf.so.14: cannot open shared object file: No such file or directory"
## ldconfig (may require sudo)
## https://stackoverflow.com/a/25518702
protoc -I=. -I=${GOPATH}/src -I=${GOPATH}/src/github.com/gogo/protobuf/protobuf --gogo_out=plugins=grpc:. types/*.proto
protoc $(INCLUDE) --gogo_out=plugins=grpc:. types/*.proto
install:
@ go install ./cmd/...
@@ -67,11 +69,11 @@ get_vendor_deps: ensure_tools
@ glide install
metalinter:
protoc --lint_out=. types/*.proto
protoc $(INCLUDE) --lint_out=. types/*.proto
gometalinter --vendor --deadline=600s --enable-all --disable=lll ./...
metalinter_test:
# protoc --lint_out=. types/*.proto
protoc $(INCLUDE) --lint_out=. types/*.proto
gometalinter --vendor --deadline=600s --disable-all \
--enable=maligned \
--enable=deadcode \