Fix makefile tags dependencies
This commit is contained in:
parent
6a0e4b5564
commit
4874823240
1 changed files with 4 additions and 2 deletions
6
Makefile
6
Makefile
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue