Skip to content

Commit

Permalink
install mage with go install (#936)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1ebffe9)
  • Loading branch information
v1v authored and mergify[bot] committed Aug 17, 2022
1 parent 06385cb commit eb0e168
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 eb0e168

Please sign in to comment.