Skip to content

Commit

Permalink
change fmt to update-gofmt.
Browse files Browse the repository at this point in the history
Signed-off-by: mango <xu.weiKyrie@foxmail.com>
  • Loading branch information
mangoGoForward committed Feb 23, 2022
1 parent 11e5209 commit aac3c65
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ build-image:
lint:
golangci-lint run

### gofmt: Format all go codes
.PHONY: gofmt
gofmt:
./utils/goimports-reviser.sh

### unit-test: Run unit test cases
.PHONY: unit-test
unit-test:
Expand Down Expand Up @@ -195,6 +190,11 @@ update-license:
update-mdlint:
docker run -it --rm -v $(PWD):/work tmknom/markdownlint '**/*.md' -f --ignore node_modules --ignore vendor

### gofmt: Format all go codes
.PHONY: update-gofmt
update-gofmt:
./utils/goimports-reviser.sh

### update-all: Update all update- rules.
.PHONY: update-all
update-all: update-codegen update-license update-mdlint
update-all: update-codegen update-license update-mdlint update-gofmt

0 comments on commit aac3c65

Please sign in to comment.