This is an automated email from the ASF dual-hosted git repository. shushengzhou pushed a commit to branch fix-Makefile in repository https://gitbox.apache.org/repos/asf/hertzbeat-collector-go.git
commit 283e16097c547741f228f42217eab30f90ee6327 Author: a-little-fool <[email protected]> AuthorDate: Wed Dec 24 19:58:50 2025 +0800 (fix): add local run script. --- tools/make/golang.mk | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/make/golang.mk b/tools/make/golang.mk index 0fe356f..946ac2a 100644 --- a/tools/make/golang.mk +++ b/tools/make/golang.mk @@ -36,6 +36,9 @@ vet: ## Golang vet dev: ## Golang dev, run main by run. go run cmd/main.go server --config etc/hertzbeat-collector.yaml +.PHONY: run +run: dev ## Golang dev, run main by run. Compatible with dev. + .PHONY: prod prod: ## Golang prod, run bin by run. bin/collector server --config etc/hertzbeat-collector.yaml --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
