Makefile: install on build (#874)

This install Go package on building for caching and faster builds
This commit is contained in:
Andrey Nering 2017-02-09 01:11:05 -02:00 committed by Lunny Xiao
parent c5887b0f28
commit e4031b822a

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: