2021-12-21 14:04:31 +01:00

22 lines
339 B
Makefile

APP = cc-metric-collector
all: $(APP)
$(APP): metric-collector.go
make -C collectors
go get
go build -o $(APP) metric-collector.go
clean:
make -C collectors clean
rm -f $(APP)
fmt:
go fmt collectors/*.go
go fmt sinks/*.go
go fmt receivers/*.go
go fmt metric-collector.go
find . -name "*.go" -exec go fmt {} \;
.PHONY: clean