mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2024-12-25 15:09:05 +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
|