Skip to content
Open
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions scripts/.util/tools.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"createpackage": "v1.73.0",
"jam": "v2.11.5",
"pack": "v0.37.0"
"pack": "v0.38.1"
}
27 changes: 0 additions & 27 deletions scripts/.util/tools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -196,33 +196,6 @@ function util::tools::packager::install () {
fi
}

function util::tools::create-package::install () {
local dir version
while [[ "${#}" != 0 ]]; do
case "${1}" in
--directory)
dir="${2}"
shift 2
;;

*)
util::print::error "unknown argument \"${1}\""
;;

esac
done

version="$(jq -r .createpackage "$(dirname "${BASH_SOURCE[0]}")/tools.json")"

mkdir -p "${dir}"
util::tools::path::export "${dir}"

if [[ ! -f "${dir}/create-package" ]]; then
util::print::title "Installing create-package"
GOBIN="${dir}" go install -ldflags="-s -w" "github.com/paketo-buildpacks/libpak/cmd/create-package@${version}"
fi
}

function util::tools::tests::checkfocus() {
testout="${1}"
if grep -q 'Focused: [1-9]' "${testout}"; then
Expand Down
3 changes: 0 additions & 3 deletions scripts/integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,6 @@ function tools::install() {
--directory "${BUILDPACKDIR}/.bin" \
--token "${token}"

util::tools::create-package::install \
--directory "${BUILDPACKDIR}/.bin"

if [[ -f "${BUILDPACKDIR}/.libbuildpack" ]]; then
util::tools::packager::install \
--directory "${BUILDPACKDIR}/.bin"
Expand Down
Loading