Skip to content

Commit

Permalink
Merge pull request #52 from cloudfoundry/automation/github-config/update
Browse files Browse the repository at this point in the history
Updates github-config
  • Loading branch information
ryanmoran committed Jun 30, 2021
2 parents a29c2d6 + 75a78a3 commit b5dc093
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions scripts/.util/tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ function util::tools::ginkgo::install() {
if [[ ! -f "${dir}/ginkgo" ]]; then
util::print::title "Installing ginkgo"

GOBIN="${dir}" \
go get \
-u \
github.com/onsi/ginkgo/ginkgo
pushd /tmp > /dev/null || return
GOBIN="${dir}" \
go get \
-u \
github.com/onsi/ginkgo/ginkgo@latest
popd > /dev/null || return
fi
}

Expand All @@ -64,9 +66,11 @@ function util::tools::buildpack-packager::install() {
if [[ ! -f "${dir}/buildpack-packager" ]]; then
util::print::title "Installing buildpack-packager"

GOBIN="${dir}" \
go install \
github.com/cloudfoundry/libbuildpack/packager/buildpack-packager
pushd /tmp > /dev/null || return
GOBIN="${dir}" \
go install \
github.com/cloudfoundry/libbuildpack/packager/buildpack-packager@latest
popd > /dev/null || return
fi
}

Expand Down

0 comments on commit b5dc093

Please sign in to comment.