1
0
Fork 0

Adding upstream version 0.0.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-24 11:27:20 +02:00
parent b74d0ef785
commit 9eac69a0e2
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
41 changed files with 2631 additions and 0 deletions

33
Makefile Normal file
View file

@ -0,0 +1,33 @@
BUMP_VERSION := $(GOPATH)/bin/bump_version
STATICCHECK := $(GOPATH)/bin/staticcheck
WRITE_MAILMAP := $(GOPATH)/bin/write_mailmap
$(STATICCHECK):
go get honnef.co/go/tools/cmd/staticcheck
lint: $(STATICCHECK)
go vet ./...
$(STATICCHECK)
test:
@# the timeout helps guard against infinite recursion
go test -timeout=250ms ./...
race-test:
go test -timeout=500ms -race ./...
$(BUMP_VERSION):
go get -u github.com/dimonomid/bump_version
$(WRITE_MAILMAP):
go get -u github.com/dimonomid/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