1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-23 02:38:35 +00:00

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
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:"; \