File: Makefile

package info (click to toggle)
golang-github-unrolled-render 1.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 260 kB
  • sloc: makefile: 13
file content (14 lines) | stat: -rw-r--r-- 415 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
.PHONY: help test
.DEFAULT_GOAL := help

help: ## Displays this help message.
	@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)

test: ## Runs the linter, tests, and vetting.
	golangci-lint run ./...
	go test -cover -race -count=1 ./...
	go vet ./...

ci: ## Runs on the tests and vetting for CI.
	go test -cover -race -count=1 ./...
	go vet ./...