Makefile: install on build (#874)

This install Go package on building for caching and faster builds
tokarchuk/v1.17
Andrey Nering 8 years ago committed by Lunny Xiao
parent c5887b0f28
commit e4031b822a
  1. 2
      Makefile

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

Loading…
Cancel
Save