mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-11-10 04:27:25 +01:00
17 lines
262 B
Makefile
17 lines
262 B
Makefile
APP = cc-metric-collector
|
|
|
|
all: $(APP)
|
|
|
|
$(APP): metric-collector.go
|
|
make -C collectors
|
|
go build -o $(APP) metric-collector.go
|
|
|
|
runonce: $(APP)
|
|
./$(APP) --once
|
|
|
|
fmt:
|
|
go fmt collectors/*.go
|
|
go fmt sinks/*.go
|
|
go fmt receivers/*.go
|
|
go fmt metric-collector.go
|