Skip to content

Commit

Permalink
Makefile: install on build (go-gitea#874)
Browse files Browse the repository at this point in the history
This install Go package on building for caching and faster builds
  • Loading branch information
andreynering authored and lunny committed Feb 9, 2017
1 parent c5887b0 commit e4031b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit e4031b8

Please sign in to comment.