Bumps the minor-and-patch group with 9 updates: | Package | From | To | | --- | --- | --- | | [github.com/nats-io/nats-server/v2](https://github.com/nats-io/nats-server) | `2.14.4` | `2.14.5` | | [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go) | `1.52.0` | `1.53.1` | | [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) | `2.32.0` | `2.32.1` | | [github.com/sirupsen/logrus](https://github.com/sirupsen/logrus) | `1.9.4` | `1.10.0` | | [golang.org/x/crypto](https://github.com/golang/crypto) | `0.54.0` | `0.55.0` | | [golang.org/x/image](https://github.com/golang/image) | `0.44.0` | `0.45.0` | | [golang.org/x/net](https://github.com/golang/net) | `0.57.0` | `0.58.0` | | [golang.org/x/text](https://github.com/golang/text) | `0.40.0` | `0.41.0` | | google.golang.org/protobuf | `1.36.11` | `1.36.12` |
35 lines
807 B
Makefile
35 lines
807 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 ./...
|
|
go run github.com/kevinburke/differ@latest gofmt -s -w .
|
|
|
|
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
|