1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-25 13:19:37 -05:00

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: