1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-28 09:21:13 -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) 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: