Skip to content

Instantly share code, notes, and snippets.

@shaunduncan
Created October 9, 2013 16:44
Show Gist options
  • Save shaunduncan/6904322 to your computer and use it in GitHub Desktop.
Save shaunduncan/6904322 to your computer and use it in GitHub Desktop.
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