1
0
Fork 0
forked from forgejo/forgejo

Fix documents for development and bug report (#18249)

This commit is contained in:
wxiaoguang 2022-01-13 10:58:46 +08:00 committed by GitHub
parent 17b2079f3e
commit eaf09a5368
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 26 deletions

View file

@ -231,7 +231,7 @@ clean:
.PHONY: fmt
fmt:
@echo "Running go fmt..."
@echo "Running gitea-fmt(with gofmt)..."
@$(GO) run build/code-batch-process.go gitea-fmt -s -w '{file-list}'
.PHONY: vet
@ -280,7 +280,7 @@ errcheck:
.PHONY: fmt-check
fmt-check:
# get all go files and run go fmt on them
# get all go files and run gitea-fmt (with gofmt) on them
@diff=$$($(GO) run build/code-batch-process.go gitea-fmt -s -d '{file-list}'); \
if [ -n "$$diff" ]; then \
echo "Please run 'make fmt' and commit the result:"; \