forked from valkey-io/valkey-glide
-
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.
Improve makefile targets and target names
- Loading branch information
1 parent
e223baf
commit 6ae23a1
Showing
2 changed files
with
23 additions
and
15 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 |
---|---|---|
@@ -1,16 +1,21 @@ | ||
install-tools-go1.18: | ||
go install github.com/vakenbolt/[email protected] | ||
install-build-tools: | ||
go install google.golang.org/protobuf/cmd/[email protected] | ||
|
||
install-dev-tools-go1.18: | ||
go install github.com/vakenbolt/[email protected] | ||
go install mvdan.cc/[email protected] | ||
go install github.com/segmentio/[email protected] | ||
go install honnef.co/go/tools/cmd/[email protected] | ||
|
||
install-tools: | ||
install-dev-tools: | ||
go install github.com/vakenbolt/[email protected] | ||
go install google.golang.org/protobuf/cmd/[email protected] | ||
go install mvdan.cc/[email protected] | ||
go install github.com/segmentio/[email protected] | ||
go install honnef.co/go/tools/cmd/[email protected] | ||
go install mvdan.cc/[email protected] | ||
go install github.com/segmentio/[email protected] | ||
go install honnef.co/go/tools/cmd/[email protected] | ||
|
||
install-tools-go1.18: install-build-tools install-dev-tools-go1.18 | ||
|
||
install-tools: install-build-tools install-dev-tools | ||
|
||
build: build-glide-core build-glide-client generate-protobuf | ||
go build ./... | ||
|
@@ -41,6 +46,9 @@ format: | |
gofumpt -w . | ||
golines -w --shorten-comments -m 127 . | ||
|
||
unit-test-report: | ||
test: | ||
go test -race ./... | ||
|
||
test-and-report: | ||
mkdir -p reports | ||
go test -race ./... -json | go-test-report -o reports/unit-test-report.html | ||
go test -race ./... -json | go-test-report -o reports/test-report.html |