Skip to content

Commit

Permalink
just: cleanup justfile a bit (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
shoenig authored Dec 15, 2024
1 parent 6e06a7c commit 8cee456
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
set shell := ["bash", "-u", "-c"]

# print just command targets
# show just command targets
[private]
default:
@just --list

# run go test with race detector
[group('build')]
test:
go test -count=1 -v -race ./...

# scan source with go vet tool
[group('build')]
vet:
go vet ./...

# tidy go modules
[group('build')]
tidy:
go mod tidy

# publish latest git tag as a github release
[group('publish')]
release:
envy exec gh-release goreleaser release --clean

0 comments on commit 8cee456

Please sign in to comment.