Skip to content

Commit

Permalink
feat(builder): support submodules in buildpacks
Browse files Browse the repository at this point in the history
some buildpacks require external git submodules to pulled in.
for example: https://github.com/cloudfoundry/ruby-buildpack
  • Loading branch information
lanej committed Sep 11, 2015
1 parent 404889c commit 613c661
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions builder/rootfs/usr/local/src/slugbuilder/builder/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ if [[ -n "$BUILDPACK_URL" ]]; then
git clone --quiet "$url" "$buildpack"
pushd "$buildpack" &>/dev/null
git checkout --quiet "$committish"
git submodule init --quiet
git submodule update --quiet --recursive
popd &>/dev/null
fi

Expand Down

0 comments on commit 613c661

Please sign in to comment.