forked from NYANDEV/forgejo
Makefile: install on build (#874)
This install Go package on building for caching and faster builds
This commit is contained in:
parent
c5887b0f28
commit
e4031b822a
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue