mirror of
https://gitea.com/gitea/gitea-mcp.git
synced 2026-03-25 14:25:13 +00:00
Align Makefile help text with gitea/gitea
Co-Authored-By: Claude (claude-opus-4-6) <noreply@anthropic.com>
This commit is contained in:
6
Makefile
6
Makefile
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user