Skip to content

Commit

Permalink
Cat files of stack folder
Browse files Browse the repository at this point in the history
Signed-off-by: cmoulliard <[email protected]>
  • Loading branch information
cmoulliard committed Aug 30, 2024
1 parent df6e0eb commit 8e6a369
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions scripts/install_buildpack_testing_environment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -220,16 +220,17 @@ OS="linux"

mkdir "${SOURCE_PATH}"/buildpack
create-package \
--source "${SOURCE_PATH:-.}" \
--source "${SOURCE_PATH}" \
--destination "${SOURCE_PATH}"/buildpack \
--version "${VERSION}"

PACKAGE_FILE="${SOURCE_PATH:-.}/package.toml"
if [ -f "${SOURCE_PATH}/${PACKAGE_FILE}" ]; then
cp "${SOURCE_PATH}/${PACKAGE_FILE}" "${SOURCE_PATH}/buildpack/package.toml"
PACKAGE_FILE="${SOURCE_PATH}/package.toml"
if [ -f "${PACKAGE_FILE}" ]; then
cp "${PACKAGE_FILE}" "${SOURCE_PATH}/buildpack/package.toml"
printf '[buildpack]\nuri = "%s"\n\n[platform]\nos = "%s"\n' "${SOURCE_PATH}/buildpack" "${OS}" >> "${SOURCE_PATH}/buildpack/package.toml"
fi

ls -la ${SOURCE_PATH}/buildpack
#ls -la ${SOURCE_PATH}/buildpack
cat ${SOURCE_PATH}/buildpack/buildpack.toml
cat ${SOURCE_PATH}/buildpack/package.toml

0 comments on commit 8e6a369

Please sign in to comment.