Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Move godep build binaries to $build/bin
# Add to end of bin/compile in heroku go buildpack
if test -f $build/Godeps; then
echo "-----> Checking for build artifacts from godep sandbox"
for dep in $(echo `godep path` | tr ":" "\n"); do
if test -d $dep/bin; then
echo " Moving: `ls -m $dep/bin`"
mv $dep/bin/* $build/bin
fi
done
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment