From 7e59d98c82178109ba36ed37fda494453ba09ad8 Mon Sep 17 00:00:00 2001 From: Lee Calcote Date: Mon, 8 Jan 2024 16:16:37 -0600 Subject: [PATCH] chore: add annotations for `make` targets Signed-off-by: Lee Calcote --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index dc696b84..45680ea1 100644 --- a/Makefile +++ b/Makefile @@ -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