Codebase list golang-github-jawher-mow.cli / 656aa140-d182-4d2c-9319-575e80e8c6c4/upstream Makefile
656aa140-d182-4d2c-9319-575e80e8c6c4/upstream

Tree @656aa140-d182-4d2c-9319-575e80e8c6c4/upstream (Download .tar.gz)

Makefile @656aa140-d182-4d2c-9319-575e80e8c6c4/upstreamraw · history · blame

test:
	go test ./...

check: readmecheck
	bin/golangci-lint run

doc:
	autoreadme -f

readmecheck:
	head -n -1 README.md > README.original.md
	autoreadme -f
	head -n -1 README.md > README.generated.md
	diff README.generated.md README.original.md

lint.setup:
	curl -sfL https://install.goreleaser.com/github.com/golangci/golangci-lint.sh | sh -s v1.28.0


readmecheck.setup:
	go get github.com/jawher/autoreadme

.PHONY: test check doc readmecheck lint.setup readmecheck.setup