Add go.mod to App dependency

This commit is contained in:
Holger Obermaier 2022-11-22 09:45:29 +01:00
parent d5daf54d4f
commit c938d32629

View File

@ -22,7 +22,7 @@ GOBIN = $(shell which go)
.PHONY: all
all: $(APP)
$(APP): $(GOSRC)
$(APP): $(GOSRC) go.mod
make -C collectors
$(GOBIN) get
$(GOBIN) build -o $(APP) $(GOSRC_APP)