Align Makefile help text with gitea/gitea

Co-Authored-By: Claude (claude-opus-4-6) <noreply@anthropic.com>
This commit is contained in:
silverwind
2026-03-25 11:50:45 +01:00
parent 5bfab0dc74
commit ac71207af9

View File

@@ -30,13 +30,13 @@ uninstall: ## uninstall the application
@echo "Uninstalled $(EXECUTABLE) from $(GOPATH)/bin/$(EXECUTABLE)" @echo "Uninstalled $(EXECUTABLE) from $(GOPATH)/bin/$(EXECUTABLE)"
.PHONY: clean .PHONY: clean
clean: ## clean the build artifacts clean: ## delete build artifacts
@echo "Cleaning up build artifacts..." @echo "Cleaning up build artifacts..."
@rm -f $(EXECUTABLE) @rm -f $(EXECUTABLE)
@echo "Cleaned up $(EXECUTABLE)" @echo "Cleaned up $(EXECUTABLE)"
.PHONY: build .PHONY: build
build: ## build the application build: ## build everything
$(GO) build -v -ldflags '-s -w $(LDFLAGS)' -o $(EXECUTABLE) $(GO) build -v -ldflags '-s -w $(LDFLAGS)' -o $(EXECUTABLE)
.PHONY: air .PHONY: air
@@ -50,7 +50,7 @@ dev: air ## run the application with hot reload
air --build.cmd "make build" --build.bin ./gitea-mcp air --build.cmd "make build" --build.bin ./gitea-mcp
.PHONY: fmt .PHONY: fmt
fmt: ## format Go code with gofumpt fmt: ## format the Go code
$(GO) run $(GOFUMPT_PACKAGE) -w . $(GO) run $(GOFUMPT_PACKAGE) -w .
.PHONY: lint .PHONY: lint