cadoles-profile/misc/mage/install

15 lines
230 B
Plaintext
Raw Normal View History

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