.PHONY: test lint proto check-copyrights build-dev-deps lint: check-copyrights @echo "Running ${@}" @gometalinter \ --deadline=70s \ --disable-all \ --enable=golint \ --enable=goimports \ --enable=vet \ --enable=deadcode \ --enable=goconst \ --exclude=.*\.pb\.go \ --exclude=.*_test.go \ ./... check-copyrights: @echo "Running ${@}" @./scripts/check-for-header.sh proto: @echo "Running ${@}" ./scripts/build-protos.sh build-dev-deps: go get github.com/golang/protobuf/protoc-gen-go go get github.com/alecthomas/gometalinter gometalinter --install --force test: lint go install -v ./... go test ./... @echo done