Cache intermediate objects during build

(cherry picked from commit ccf17a9f93)
This commit is contained in:
Daniel Nelson 2017-08-21 14:44:53 -07:00
parent d4cd1b7eb4
commit 98774d60e2
No known key found for this signature in database
GPG Key ID: CAAD59C9444F6155
1 changed files with 1 additions and 1 deletions

View File

@ -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