22 lines
410 B
Makefile
22 lines
410 B
Makefile
lint:
|
|
@echo "gometalinter"
|
|
@gometalinter.v2 \
|
|
--deadline=60s \
|
|
--disable-all \
|
|
--enable=golint \
|
|
--enable=goimports \
|
|
--enable=vet \
|
|
--enable=deadcode \
|
|
--enable=gosimple \
|
|
--exclude=.*\.pb\.go \
|
|
./...
|
|
|
|
|
|
proto:
|
|
@echo "Running ${@}"
|
|
./scripts/build-protos.sh
|
|
|
|
build-dev-deps:
|
|
go get -u github.com/golang/protobuf/protoc-gen-go
|
|
go get -u gopkg.in/alecthomas/gometalinter.v2
|
|
gometalinter --install
|