generated from layer5io/layer5-repo-template
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into theBeginner86/chore/15
Signed-off-by: Lee Calcote <[email protected]>
- Loading branch information
Showing
1 changed file
with
6 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,27 @@ | ||
include build/Makefile.core.mk | ||
include build/Makefile.show-help.mk | ||
|
||
## Run suite of Golang lint checks | ||
check: | ||
golangci-lint run -c .golangci.yml -v ./... | ||
|
||
## Run Golang tests | ||
test: | ||
go test --short ./... -race -coverprofile=coverage.txt -covermode=atomic | ||
|
||
## Clean up Golang packages. Print diff. | ||
tidy: | ||
go mod tidy | ||
git diff --exit-code go.mod go.sum | ||
|
||
## Run Meshery Error Code Utility. Generate error codes. | ||
errorutil: | ||
go run github.com/layer5io/meshkit/cmd/errorutil -d . update --skip-dirs meshery -i ./helpers -o ./helpers | ||
|
||
## Run Meshery Error Code Utility. Analyze only. | ||
errorutil-analyze: | ||
go run github.com/layer5io/meshkit/cmd/errorutil -d . analyze --skip-dirs meshery -i ./helpers -o ./helpers | ||
|
||
## Build the Meshery Error Code Utility. | ||
build-errorutil: | ||
go build -o errorutil cmd/errorutil/main.go |