This is an automated email from the ASF dual-hosted git repository.
shown pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/hertzbeat-collector-go.git
The following commit(s) were added to refs/heads/main by this push:
new 934b42a fix: fix Makefile script. (#38)
934b42a is described below
commit 934b42a50ccfe266871bdaf682db0fe702ad1717
Author: lynx009 <[email protected]>
AuthorDate: Fri Dec 26 21:59:55 2025 +0800
fix: fix Makefile script. (#38)
---
README-CN.md | 2 +-
README.md | 2 +-
tools/make/golang.mk | 8 ++++----
3 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/README-CN.md b/README-CN.md
index a0390a9..83fd4d0 100644
--- a/README-CN.md
+++ b/README-CN.md
@@ -8,7 +8,7 @@ HertzBeat-Collector-Go 是 [Apache
HertzBeat](https://github.com/apache/hertzbea
## 快速开始
```shell
-make run
+make dev-run
```
## 贡献
diff --git a/README.md b/README.md
index 43b3d5e..f920cff 100644
--- a/README.md
+++ b/README.md
@@ -8,7 +8,7 @@ HertzBeat-Collector-Go is the Go implementation of the
collector for [Apache Her
## Quick Start
```shell
-make run
+make dev-run
```
## Contributing
diff --git a/tools/make/golang.mk b/tools/make/golang.mk
index 0fe356f..1e9fe77 100644
--- a/tools/make/golang.mk
+++ b/tools/make/golang.mk
@@ -32,12 +32,12 @@ fmt: ## Golang fmt
vet: ## Golang vet
go vet ./...
-.PHONY: dev
-dev: ## Golang dev, run main by run.
+.PHONY: dev-run
+dev-run: ## Golang dev, run main by run.
go run cmd/main.go server --config etc/hertzbeat-collector.yaml
-.PHONY: prod
-prod: ## Golang prod, run bin by run.
+.PHONY: prod-run
+prod-run: ## Golang prod, run bin by run.
bin/collector server --config etc/hertzbeat-collector.yaml
.PHONY: build
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]