rclone/vendor/storj.io/drpc/Makefile

34 lines
502 B
Makefile
Raw Normal View History

2020-05-11 20:57:46 +02:00
.DEFAULT_GOAL = check
.PHONY: check
check: generate build lint test docs
.PHONY: build
build:
./scripts/run.sh go build ./...
.PHONY: docs
docs:
./scripts/docs.sh
.PHONY: download
download:
./scripts/run.sh go mod download
.PHONY: generate
generate:
./scripts/run.sh go generate ./...
.PHONY: lint
lint:
./scripts/run.sh staticcheck ./...
./scripts/run.sh golangci-lint -j=2 run
.PHONY: tidy
tidy:
./scripts/run.sh go mod tidy
.PHONY: test
test:
./scripts/run.sh go test ./... -count=1