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.
Remove goimports as a tool dependency
- Loading branch information
1 parent
e5ed300
commit 43d9a13
Showing
2 changed files
with
3 additions
and
10 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 |
---|---|---|
|
@@ -2,15 +2,13 @@ install-tools-go1.18: | |
go install github.com/vakenbolt/[email protected] | ||
go install google.golang.org/protobuf/cmd/[email protected] | ||
go install mvdan.cc/[email protected] | ||
go install golang.org/x/tools/cmd/[email protected] | ||
go install github.com/segmentio/[email protected] | ||
go install honnef.co/go/tools/cmd/[email protected] | ||
|
||
install-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 golang.org/x/tools/cmd/[email protected] | ||
go install github.com/segmentio/[email protected] | ||
go install honnef.co/go/tools/cmd/[email protected] | ||
|
||
|
@@ -38,12 +36,10 @@ lint: | |
staticcheck ./... | ||
if [ "$$(gofumpt -l . | wc -l)" -gt 0 ]; then exit 1; fi | ||
if [ "$$(golines -l --shorten-comments -m 127 . | wc -l)" -gt 0 ]; then exit 1; fi | ||
if [ "$$(goimports -l . | wc -l)" -gt 0 ]; then exit 1; fi | ||
|
||
format: | ||
gofumpt -w . | ||
golines -w --shorten-comments -m 127 . | ||
goimports -w . | ||
|
||
unit-test-report: | ||
mkdir -p reports | ||
|