fix: typo in golang.mk (#855)

Formating -> Formatting
pull/850/head
Ikko Eltociear Ashimine 1 year ago committed by GitHub
parent 50a63adf5e
commit c5d66914fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -183,7 +183,7 @@ go.test.cover: go.test.junit-report
## go.format: Run unit test and format codes ## go.format: Run unit test and format codes
.PHONY: go.format .PHONY: go.format
go.format: tools.verify.golines tools.verify.goimports go.format: tools.verify.golines tools.verify.goimports
@echo "===========> Formating codes" @echo "===========> Formatting codes"
@$(FIND) -type f -name '*.go' -not -name '*pb*' | $(XARGS) gofmt -s -w @$(FIND) -type f -name '*.go' -not -name '*pb*' | $(XARGS) gofmt -s -w
@$(FIND) -type f -name '*.go' -not -name '*pb*' | $(XARGS) $(TOOLS_DIR)/goimports -w -local $(ROOT_PACKAGE) @$(FIND) -type f -name '*.go' -not -name '*pb*' | $(XARGS) $(TOOLS_DIR)/goimports -w -local $(ROOT_PACKAGE)
@$(FIND) -type f -name '*.go' -not -name '*pb*' | $(XARGS) $(TOOLS_DIR)/golines -w --max-len=200 --reformat-tags --shorten-comments --ignore-generated . @$(FIND) -type f -name '*.go' -not -name '*pb*' | $(XARGS) $(TOOLS_DIR)/golines -w --max-len=200 --reformat-tags --shorten-comments --ignore-generated .

Loading…
Cancel
Save