Browse Source

Makefile: install on build (#874)

This install Go package on building for caching and faster builds
tags/v1.1.0
Andrey Nering 7 years ago
parent
commit
e4031b822a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Makefile

+ 1
- 1
Makefile 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:

Loading…
Cancel
Save