storj/Makefile
Dennis Coyle fe60ba02a3 lint step for copyright headers (#16)
* overlay proto

* grpc server and client

* fix import to storj

* tests

* change imports

* imports cleanup/comments

* PR comments addressed from @jtolds

* lint step for copyright headers

* spelling

* PR comments addressed from @jtolds
2018-04-23 10:05:52 -06:00

28 lines
505 B
Makefile

lint: check-copyrights
@echo "Running ${@}"
@gometalinter.v2 \
--deadline=60s \
--disable-all \
--enable=golint \
--enable=goimports \
--enable=vet \
--enable=deadcode \
--enable=gosimple \
--exclude=.*\.pb\.go \
./...
check-copyrights:
@echo "Running ${@}"
@./scripts/check-for-header.sh
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.v2 --install