Makefile: undocker depends on GODEPS
This commit is contained in:
parent
555983fc2e
commit
04a61d2fc9
2
Makefile
2
Makefile
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user