aboutsummaryrefslogtreecommitdiff
path: root/vendor/github.com/mistifyio/go-zfs/v3/Makefile
blob: 1c5f55e8c6052d6706cafafa92058c3534f9c36b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
help: ## Print this help
	@grep --no-filename -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sed 's/:.*## /·/' | sort | column -t -W 2 -s '·' -c $(shell tput cols)

all: test ## Run tests

-include rules.mk
-include lint.mk

test: ## Run tests
	go test ./...

verify: gofumpt prettier lint ## Verify code style, is lint free, freshness ...
	git diff | (! grep .)

fix: gofumpt-fix prettier-fix ## Fix code formatting errors

tools: ${toolsBins} ## Build Go based build tools

.PHONY: all help test tools verify