Move godep build binaries to $build/bin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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