Skip to content

Commit

Permalink
Merge branch 'master' into theBeginner86/chore/15
Browse files Browse the repository at this point in the history
Signed-off-by: Lee Calcote <[email protected]>
  • Loading branch information
leecalcote committed Jan 8, 2024
2 parents 180f148 + a1d70c5 commit 707a7f5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
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

0 comments on commit 707a7f5

Please sign in to comment.