Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 09:54:24 +01: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: