Makefile: undocker depends on GODEPS

This commit is contained in:
Motiejus Jakštys 2024-09-10 10:43:25 +03:00
parent 555983fc2e
commit 04a61d2fc9

View File

@ -5,7 +5,7 @@ VSN ?= $(shell git describe --dirty)
VSNHASH ?= $(shell git rev-parse --verify HEAD) VSNHASH ?= $(shell git rev-parse --verify HEAD)
LDFLAGS ?= -ldflags "-X main.Version=$(VSN) -X main.VersionHash=$(VSNHASH)" LDFLAGS ?= -ldflags "-X main.Version=$(VSN) -X main.VersionHash=$(VSNHASH)"
undocker: ## builds binary for the current architecture undocker: $(GODEPS) ## builds binary for the current architecture
go build $(LDFLAGS) -o $@ go build $(LDFLAGS) -o $@
.PHONY: test .PHONY: test