This repository has been archived on 2022-08-17. You can view files and clone it, but cannot push or open issues or pull requests.
dex/env

12 lines
350 B
Text
Raw Normal View History

export GOPATH=${PWD}/Godeps/_workspace
rm -rf $GOPATH/src/github.com/coreos/dex
mkdir -p $GOPATH/src/github.com/coreos/
# Only attempt to link dex into godeps if it isn't already there
[ -d $GOPATH/src/github.com/coreos/dex ] || ln -s ${PWD} $GOPATH/src/github.com/coreos/dex
2016-03-03 01:33:13 +05:30
export VERSION=$(./git-version)
LD_FLAGS="-X main.version=${VERSION}"