-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: setup a Justfile * build: drop support for windows Yeah, no thanks. ``` go test -count=1 -v -race ./... Windows Subsystem for Linux has no installed distributions. Distributions can be installed by visiting the Microsoft Store: https://aka.ms/wslstore error: Recipe `test` failed on line 9 with exit code 1 Error: Process completed with exit code 1. ```
- Loading branch information
Showing
3 changed files
with
24 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ builds: | |
- CGO_ENABLED=0 | ||
goos: | ||
- linux | ||
- windows | ||
- darwin | ||
- freebsd | ||
- openbsd | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
set shell := ["bash", "-u", "-c"] | ||
|
||
# print just command targets | ||
default: | ||
@just --list | ||
|
||
# run go test with race detector | ||
test: | ||
go test -count=1 -v -race ./... | ||
|
||
# scan source with go vet tool | ||
vet: | ||
go vet ./... | ||
|
||
# tidy go modules | ||
tidy: | ||
go mod tidy | ||
|
||
# publish latest git tag as a github release | ||
release: | ||
envy exec gh-release goreleaser release --clean | ||
$(MAKE) clean |