Skip to content

Commit

Permalink
install mage with go install (elastic#936) (elastic#937)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1ebffe9)

Co-authored-by: Victor Martinez <[email protected]>
  • Loading branch information
mergify[bot] and v1v authored Aug 17, 2022
1 parent 06385cb commit c24b0ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export MAGE_IMPORT_PATH
mage:
ifndef MAGE_PRESENT
@echo Installing mage $(MAGE_VERSION).
@go get -ldflags="-X $(MAGE_IMPORT_PATH)/mage.gitTag=$(MAGE_VERSION)" ${MAGE_IMPORT_PATH}@$(MAGE_VERSION)
@go install ${MAGE_IMPORT_PATH}@$(MAGE_VERSION)
@-mage -clean
endif
@true
Expand Down

0 comments on commit c24b0ee

Please sign in to comment.