-
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.
chore(layout): regenerate project layout with craft
- Loading branch information
1 parent
d3d6fc2
commit 30651ef
Showing
6 changed files
with
36 additions
and
24 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
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
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,7 @@ | ||
# Code generated by craft; DO NOT EDIT. | ||
|
||
ignore: | ||
- "cmd" | ||
- "**/cobra" | ||
- "**/tests" | ||
- "**/testutils" |
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,23 @@ | ||
# Code generated by craft; DO NOT EDIT. | ||
|
||
CI_PROJECT_PATH := github.com/kilianpaquier/pooling | ||
GCI_CONFIG_PATH := .golangci.yml | ||
|
||
.PHONY: lint | ||
lint: | ||
@gci write --skip-generated -s standard -s default -s "Prefix(${CI_PROJECT_PATH})" . | ||
@golangci-lint run -c ${GCI_CONFIG_PATH} --timeout 120s --fast --sort-results \ | ||
--issues-exit-code 0 \ | ||
--out-format colored-line-number $(ARGS) | ||
|
||
.PHONY: test | ||
test: lint | ||
@go test ./... -count 1 | ||
|
||
.PHONY: test-race | ||
test-race: lint | ||
@go test ./... -race | ||
|
||
.PHONY: test-cover | ||
test-cover: lint | ||
@go test ./... -coverpkg=./... -covermode=count -coverprofile=coverage.out |