Cache intermediate objects during build
This commit is contained in:
parent
13a6b917c3
commit
ccf17a9f93
2
Makefile
2
Makefile
|
@ -25,7 +25,7 @@ deps:
|
||||||
gdm restore
|
gdm restore
|
||||||
|
|
||||||
telegraf:
|
telegraf:
|
||||||
go build -o $(TELEGRAF) -ldflags "$(LDFLAGS)" ./cmd/telegraf/telegraf.go
|
go build -i -o $(TELEGRAF) -ldflags "$(LDFLAGS)" ./cmd/telegraf/telegraf.go
|
||||||
|
|
||||||
go-install:
|
go-install:
|
||||||
go install -ldflags "-w -s $(LDFLAGS)" ./cmd/telegraf
|
go install -ldflags "-w -s $(LDFLAGS)" ./cmd/telegraf
|
||||||
|
|
Loading…
Reference in New Issue