rclone/vendor/storj.io/drpc/Makefile
2020-05-12 15:56:50 +00:00

34 lines
502 B
Makefile

.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