File: Makefile

package info (click to toggle)
golang-go-zfs 3.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bookworm-backports, forky, sid, trixie
  • size: 212 kB
  • sloc: makefile: 17
file content (19 lines) | stat: -rw-r--r-- 517 bytes parent folder | download
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