Skip to content

Commit 1dee644

Browse files
Update CNB tools
1 parent 480f668 commit 1dee644

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

scripts/install_shim_tools.sh

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/bin/bash
2+
set -euo pipefail
3+
4+
cd "$( dirname "${BASH_SOURCE[0]}" )/.."
5+
source .envrc
6+
go mod download
7+
8+
if [ ! -f .bin/ginkgo ]; then
9+
go get -u github.com/onsi/ginkgo/ginkgo
10+
fi
11+
if [ ! -f .bin/buildpack-packager ]; then
12+
go install github.com/cloudfoundry/libbuildpack/packager/buildpack-packager
13+
fi
14+
15+
if [ ! -f .bin/cnb2cf ]; then
16+
go install github.com/cloudfoundry/cnb2cf/cmd/cnb2cf
17+
./scripts/build.sh
18+
if [ -f .bin/statik ]; then
19+
rm .bin/statik
20+
fi
21+
fi
22+
23+
go mod tidy

0 commit comments

Comments
 (0)