Fix makefile tags dependencies

This commit is contained in:
Zachary Yedidia 2020-02-13 20:00:35 -05:00
parent 6a0e4b5564
commit 4874823240

View file

@ -17,8 +17,7 @@ build:
build-dbg:
go build -ldflags "-s -w $(ADDITIONAL_GO_LINKER_FLAGS)" ./cmd/micro
build-tags:
git fetch --tags
build-tags: fetch-tags
go build -ldflags "-s -w $(GOVARS) $(ADDITIONAL_GO_LINKER_FLAGS)" ./cmd/micro
# Builds micro after building the runtime and checking dependencies
@ -39,6 +38,9 @@ install-all: runtime install
install-quick:
go install -ldflags "-s -w $(GOVARS) $(ADDITIONAL_GO_LINKER_FLAGS)" ./cmd/micro
fetch-tags:
git fetch --tags
# Builds the runtime
runtime:
git submodule update --init