cadoles-profile/misc/mage/install

15 lines
230 B
Bash
Executable File

#!/bin/bash
set -eo pipefail
echo "Installing Mage..."
export PATH="$PATH:/usr/local/go/bin"
export GO111MODULE=off
go get -u -d github.com/magefile/mage
(
cd $GOPATH/src/github.com/magefile/mage
go run bootstrap.go
)