Skip to content

Commit 934b42a

Browse files
authored
fix: fix Makefile script. (#38)
1 parent 652f928 commit 934b42a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

README-CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ HertzBeat-Collector-Go 是 [Apache HertzBeat](https://github.com/apache/hertzbea
88
## 快速开始
99

1010
```shell
11-
make run
11+
make dev-run
1212
```
1313

1414
## 贡献

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ HertzBeat-Collector-Go is the Go implementation of the collector for [Apache Her
88
## Quick Start
99

1010
```shell
11-
make run
11+
make dev-run
1212
```
1313

1414
## Contributing

tools/make/golang.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@ fmt: ## Golang fmt
3232
vet: ## Golang vet
3333
go vet ./...
3434

35-
.PHONY: dev
36-
dev: ## Golang dev, run main by run.
35+
.PHONY: dev-run
36+
dev-run: ## Golang dev, run main by run.
3737
go run cmd/main.go server --config etc/hertzbeat-collector.yaml
3838

39-
.PHONY: prod
40-
prod: ## Golang prod, run bin by run.
39+
.PHONY: prod-run
40+
prod-run: ## Golang prod, run bin by run.
4141
bin/collector server --config etc/hertzbeat-collector.yaml
4242

4343
.PHONY: build

0 commit comments

Comments
 (0)