Makefile: install on build (#874)
This install Go package on building for caching and faster buildsrelease/v1.15
parent
c5887b0f28
commit
e4031b822a
2
Makefile
2
Makefile
|
@ -89,7 +89,7 @@ install: $(wildcard *.go)
|
||||||
build: $(EXECUTABLE)
|
build: $(EXECUTABLE)
|
||||||
|
|
||||||
$(EXECUTABLE): $(SOURCES)
|
$(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
|
.PHONY: docker
|
||||||
docker:
|
docker:
|
||||||
|
|
Loading…
Reference in New Issue