Files
podman/vendor/github.com/kevinburke/ssh_config/Makefile
renovate[bot] de35ca847d fix(deps): update module github.com/kevinburke/ssh_config to v1.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-02-14 13:34:36 +00:00

34 lines
749 B
Makefile

BUMP_VERSION := $(GOPATH)/bin/bump_version
WRITE_MAILMAP := $(GOPATH)/bin/write_mailmap
lint:
go vet ./...
go run honnef.co/go/tools/cmd/staticcheck@latest ./...
test:
@# the timeout helps guard against infinite recursion
go test -timeout=250ms ./...
race-test:
go test -timeout=500ms -race ./...
coverage:
go test -trimpath -timeout=250ms -coverprofile=coverage.out -covermode=atomic ./...
go tool cover -func=coverage.out
$(BUMP_VERSION):
go get -u github.com/kevinburke/bump_version
$(WRITE_MAILMAP):
go get -u github.com/kevinburke/write_mailmap
release: test | $(BUMP_VERSION)
$(BUMP_VERSION) --tag-prefix=v minor config.go
force: ;
AUTHORS.txt: force | $(WRITE_MAILMAP)
$(WRITE_MAILMAP) > AUTHORS.txt
authors: AUTHORS.txt