forked from mystiq/dex
parent
594c54553f
commit
16c189b7b2
1 changed files with 11 additions and 0 deletions
11
env
11
env
|
@ -21,6 +21,17 @@ for V in "${KNOWN_INSECURE[@]}"; do
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
PROJ="dex"
|
||||||
|
ORG_PATH="github.com/coreos"
|
||||||
|
REPO_PATH="${ORG_PATH}/${PROJ}"
|
||||||
|
|
||||||
|
if [ ! -h gopath/src/${REPO_PATH} ]; then
|
||||||
|
mkdir -p gopath/src/${ORG_PATH}
|
||||||
|
ln -s ${PWD} gopath/src/${REPO_PATH} || exit 255
|
||||||
|
fi
|
||||||
|
|
||||||
|
export GOPATH=${PWD}/gopath
|
||||||
|
export GOBIN=${PWD}/bin
|
||||||
export GO15VENDOREXPERIMENT=1
|
export GO15VENDOREXPERIMENT=1
|
||||||
export VERSION=$(./git-version)
|
export VERSION=$(./git-version)
|
||||||
LD_FLAGS="-X main.version=${VERSION}"
|
LD_FLAGS="-X main.version=${VERSION}"
|
||||||
|
|
Loading…
Reference in a new issue