Makefile: install on build (#874)

This install Go package on building for caching and faster builds
release/v1.15
Andrey Nering 2017-02-09 01:11:05 -02:00 committed by Lunny Xiao
parent c5887b0f28
commit e4031b822a
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ install: $(wildcard *.go)
build: $(EXECUTABLE)
$(EXECUTABLE): $(SOURCES)
go build -v -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o $@
go build -i -v -tags '$(TAGS)' -ldflags '-s -w $(LDFLAGS)' -o $@
.PHONY: docker
docker: