Skip to content

Commit

Permalink
chore(build): add goreleaser to makefile and local tool versions
Browse files Browse the repository at this point in the history
  • Loading branch information
particledecay committed Nov 17, 2023
1 parent 8404617 commit b1261a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ _testmain.go
/VERSION.cache
/bin/
/build.out
/dist/
/doc/articles/wiki/*.bin
/goinstall.log
/last-change
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
pre-commit 3.4.0
goreleaser 1.22.1
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
.PHONY: test coverage pre-commit dependencies install-golangci-lint install-pre-commit
.PHONY: test coverage build pre-commit dependencies install-golangci-lint install-pre-commit

test:
go test ./... -shuffle on -race -coverprofile=coverage.out

coverage: test
go tool cover -html=coverage.out

build:
goreleaser build --single-target --snapshot --rm-dist

pre-commit: dependencies
@pre-commit install

Expand Down

0 comments on commit b1261a8

Please sign in to comment.