2018-04-06 17:32:34 +01:00
|
|
|
lint:
|
|
|
|
@echo "gometalinter"
|
|
|
|
@gometalinter.v2 \
|
|
|
|
--deadline=60s \
|
|
|
|
--disable-all \
|
|
|
|
--enable=golint \
|
|
|
|
--enable=goimports \
|
|
|
|
--enable=vet \
|
|
|
|
--enable=deadcode \
|
|
|
|
--enable=gosimple \
|
|
|
|
--exclude=.*\.pb\.go \
|
|
|
|
./...
|
2018-04-12 14:50:22 +01:00
|
|
|
|
|
|
|
|
|
|
|
proto:
|
|
|
|
@echo "Running ${@}"
|
2018-04-17 18:29:15 +01:00
|
|
|
./scripts/build-protos.sh
|
|
|
|
|
|
|
|
build-dev-deps:
|
2018-04-17 19:18:39 +01:00
|
|
|
go get -u github.com/golang/protobuf/protoc-gen-go
|
|
|
|
go get -u gopkg.in/alecthomas/gometalinter.v2
|
2018-04-18 19:13:18 +01:00
|
|
|
gometalinter.v2 --install
|