cd ../..

export GOPATH=$PWD
export PATH=$GOPATH/bin:$PATH

go get github.com/tools/godep
godep get github.com/ZiCog/shiny-thing/foo

cd -
go install

mkdir -p Godeps/_workspace/src
cp -r ../github.com Godeps/_workspace/src/github.com
#!/bin/sh

cd ../..

# remove github dep cache
rm -rf src/github.com

export GOPATH=$PWD
export PATH=$GOPATH/bin:$PATH

go get github.com/tools/godep
godep get github.com/ZiCog/shiny-thing/foo

cd -

# remove workspace cache
rm -rf Godeps/_workspace


go install

mkdir -p Godeps/_workspace/src
cp -r ../github.com Godeps/_workspace/src/github.com
Clean up old deps before packaging
Clean up old deps before packaging
