gh-ost/script/env
Jess Breckenridge 175b6037d9 - Modifications so that development is easier.
- Striving for clone && boostrap and test simplicity.
- Modifications strive to use go 1.7 in repo directory.
- Moved libs to src directory where go expects them.
2017-05-02 14:41:15 -06:00

10 lines
336 B
Bash
Executable File

#!/bin/bash
## Set all environmental variables here.
export ROOTDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )"
export GOPATH=$ROOTDIR/.gopath
export GOPATH=$GOPATH:$ROOTDIR/vendor/:$ROOTDIR/.vendor/go17/usr/local/go/
export GOROOT=$ROOTDIR/.vendor/go17/usr/local/go/
export GOCMD=$ROOTDIR/.vendor/go17/usr/local/go/bin/go