File tree Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Original file line number Diff line number Diff line change @@ -15,65 +15,50 @@ ci: precommit diff
1515
1616.PHONY : help
1717help :
18- @grep -E ' ^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST ) | sort | awk ' BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s \033[0m %s\n", $$1, $$2}'
18+ @grep -E ' ^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST ) | sort | awk ' BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s \033[0m %s\n", $$1, $$2}'
1919
2020.PHONY : clean
2121clean : # # remove files created during build pipeline
22- $(call print-target)
2322 rm -rf dist
2423 rm -f coverage.*
2524 rm -f ' "$(shell go env GOCACHE)/../golangci-lint"'
2625 go clean -i -cache -testcache -modcache -fuzzcache -x
2726
2827.PHONY : mod
2928mod : # # go mod tidy
30- $(call print-target)
3129 go mod tidy
3230 cd tools && go mod tidy
3331
3432.PHONY : inst
3533inst : # # go install tools
36- $(call print-target)
3734 cd tools && go install $(shell cd tools && go list -e -f '{{ join .Imports " " }}' -tags=tools)
3835
3936.PHONY : gen
4037gen : # # go generate
41- $(call print-target)
4238 go generate ./...
4339
4440.PHONY : build
4541build : # # goreleaser build
46- $(call print-target)
4742 goreleaser build --clean --single-target --snapshot
4843
4944.PHONY : spell
5045spell : # # misspell
51- $(call print-target)
5246 misspell -error -locale=US -w ** .md
5347
5448.PHONY : lint
5549lint : # # golangci-lint
56- $(call print-target)
5750 golangci-lint run --fix
5851
5952.PHONY : vuln
6053vuln : # # govulncheck
61- $(call print-target)
6254 govulncheck ./...
6355
6456.PHONY : test
6557test : # # go test
66- $(call print-target)
6758 go test -race -covermode=atomic -coverprofile=coverage.out -coverpkg=./... ./...
6859 go tool cover -html=coverage.out -o coverage.html
6960
7061.PHONY : diff
7162diff : # # git diff
72- $(call print-target)
7363 git diff --exit-code
7464 RES=$$(git status --porcelain ) ; if [ -n " $$ RES" ]; then echo $$ RES && exit 1 ; fi
75-
76-
77- define print-target
78- @printf "Executing target: \033[36m$@ \033[0m\n"
79- endef
Original file line number Diff line number Diff line change @@ -1374,7 +1374,6 @@ google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8
13741374google.golang.org/grpc v1.33.2 /go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc =
13751375google.golang.org/grpc v1.70.0 h1:pWFv03aZoHzlRKHWicjsZytKAiYCtNS0dHbXnIdq7jQ =
13761376google.golang.org/grpc v1.70.0 /go.mod h1:ofIJqVKDXx/JiXrwr2IG4/zwdH9txy3IlF40RmcJSQw =
1377- google.golang.org/grpc/stats/opentelemetry v0.0.0-20240907200651-3ffb98b2c93a h1:UIpYSuWdWHSzjwcAFRLjKcPXFZVVLXGEM23W+NWqipw =
13781377google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd /go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8 =
13791378google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64 /go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0 =
13801379google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60 /go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM =
You can’t perform that action at this time.
0 commit comments