Skip to content

Commit

Permalink
Update CNB tools
Browse files Browse the repository at this point in the history
  • Loading branch information
cf-buildpacks-eng committed Sep 11, 2019
1 parent 480f668 commit 1dee644
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions scripts/install_shim_tools.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash
set -euo pipefail

cd "$( dirname "${BASH_SOURCE[0]}" )/.."
source .envrc
go mod download

if [ ! -f .bin/ginkgo ]; then
go get -u github.com/onsi/ginkgo/ginkgo
fi
if [ ! -f .bin/buildpack-packager ]; then
go install github.com/cloudfoundry/libbuildpack/packager/buildpack-packager
fi

if [ ! -f .bin/cnb2cf ]; then
go install github.com/cloudfoundry/cnb2cf/cmd/cnb2cf
./scripts/build.sh
if [ -f .bin/statik ]; then
rm .bin/statik
fi
fi

go mod tidy

0 comments on commit 1dee644

Please sign in to comment.