storj/Makefile

28 lines
505 B
Makefile
Raw Normal View History

lint: check-copyrights
@echo "Running ${@}"
2018-04-06 17:32:34 +01:00
@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
check-copyrights:
@echo "Running ${@}"
@./scripts/check-for-header.sh
2018-04-12 14:50:22 +01:00
proto:
@echo "Running ${@}"
2018-04-17 18:29:15 +01:00
./scripts/build-protos.sh
2018-04-17 18:29:15 +01:00
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
gometalinter.v2 --install