mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-04-08 22:45:55 +02:00
Add go sources in internal/...
This commit is contained in:
parent
e6c636be90
commit
3f1155ff6d
4
Makefile
4
Makefile
@ -3,7 +3,8 @@ GOSRC_APP := metric-collector.go
|
||||
GOSRC_COLLECTORS := $(wildcard collectors/*.go)
|
||||
GOSRC_SINKS := $(wildcard sinks/*.go)
|
||||
GOSRC_RECEIVERS := $(wildcard receivers/*.go)
|
||||
GOSRC := $(GOSRC_APP) $(GOSRC_COLLECTORS) $(GOSRC_SINKS) $(GOSRC_RECEIVERS)
|
||||
GOSRC_INTERNAL := $(wildcard internal/*/*.go)
|
||||
GOSRC := $(GOSRC_APP) $(GOSRC_COLLECTORS) $(GOSRC_SINKS) $(GOSRC_RECEIVERS) $(GOSRC_INTERNAL)
|
||||
|
||||
.PHONY: all
|
||||
all: $(APP)
|
||||
@ -23,6 +24,7 @@ fmt:
|
||||
go fmt $(GOSRC_COLLECTORS)
|
||||
go fmt $(GOSRC_SINKS)
|
||||
go fmt $(GOSRC_RECEIVERS)
|
||||
go fmt $(GOSRC_INTERNAL)
|
||||
go fmt $(GOSRC_APP)
|
||||
find . -name "*.go" -exec go fmt {} \;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user