forked from mystiq/dex
11 lines
347 B
Text
11 lines
347 B
Text
|
export GOPATH=${PWD}/Godeps/_workspace
|
||
|
export GOBIN=${PWD}/bin
|
||
|
|
||
|
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
|
||
|
|
||
|
LD_FLAGS="-X main.version=$(./git-version)"
|