distribution: remove gpm references and update to use dep

This commit is contained in:
Tanvir Alam 2017-12-04 09:54:31 -05:00
parent dc65ff800f
commit 842a45b1db

View File

@ -5,9 +5,7 @@ set -e
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
echo "working dir $DIR" echo "working dir $DIR"
mkdir -p $DIR/dist mkdir -p $DIR/dist
mkdir -p $DIR/.godeps dep ensure || exit 1
export GOPATH=$DIR/.godeps:$GOPATH
GOPATH=$DIR/.godeps gpm install
os=$(go env GOOS) os=$(go env GOOS)
arch=$(go env GOARCH) arch=$(go env GOARCH)