Commit 66d7c81d authored by suyanlong's avatar suyanlong

🐛 update makefile

parent 67f42488
Pipeline #8185 failed with stages
...@@ -120,6 +120,8 @@ fmt_go: fmt_shell ## go fmt ...@@ -120,6 +120,8 @@ fmt_go: fmt_shell ## go fmt
fmt: fmt_proto fmt_shell ## go fmt fmt: fmt_proto fmt_shell ## go fmt
@go fmt ./... @go fmt ./...
@find . -name '*.go' -not -path "./vendor/*" | xargs goimports -l -w @find . -name '*.go' -not -path "./vendor/*" | xargs goimports -l -w
gofumpt:
@gofumpt -l -w . @gofumpt -l -w .
pb: pb:
...@@ -165,7 +167,7 @@ build-dep: ...@@ -165,7 +167,7 @@ build-dep:
aligner: aligner:
@aligner -r -c "//" -e ".go" -i ./internal/repo/a_repo-packr.go comment @aligner -r -c "//" -e ".go" -i ./internal/repo/a_repo-packr.go comment
goimports:fmt goimports:
@CGO_ENABLED=1 goimports-reviser -dir-path ./ -project-name gitlab.33.cn/link33/sidecar -ignore-dir mock -rm-unused -set-alias -format @CGO_ENABLED=1 goimports-reviser -dir-path ./ -project-name gitlab.33.cn/link33/sidecar -ignore-dir mock -rm-unused -set-alias -format
aligner-check: aligner-check:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment