mirror of
https://github.com/ClusterCockpit/cc-metric-collector.git
synced 2025-10-18 20:05:08 +02:00
Merge branch 'develop' into channels
This commit is contained in:
5
Makefile
5
Makefile
@@ -6,6 +6,7 @@ GOSRC_RECEIVERS := $(wildcard receivers/*.go)
|
||||
GOSRC_INTERNAL := $(wildcard internal/*/*.go)
|
||||
GOSRC := $(GOSRC_APP) $(GOSRC_COLLECTORS) $(GOSRC_SINKS) $(GOSRC_RECEIVERS) $(GOSRC_INTERNAL)
|
||||
|
||||
|
||||
.PHONY: all
|
||||
all: $(APP)
|
||||
|
||||
@@ -24,9 +25,9 @@ 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 {} \;
|
||||
@for F in $(GOSRC_INTERNAL); do go fmt $$F; done
|
||||
|
||||
|
||||
# Examine Go source code and reports suspicious constructs
|
||||
.PHONY: vet
|
||||
|
Reference in New Issue
Block a user