Skip to content

Commit

Permalink
CNB_BUILDPACK_DIR tests for windows
Browse files Browse the repository at this point in the history
Signed-off-by: Emily Casey <ecasey@vmware.com>
  • Loading branch information
ekcasey committed Jul 1, 2020
1 parent 880053c commit 322ee31
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions testdata/buildpack/bin/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ echo build out: %bp_id%@%bp_version%
echo build err: %bp_id%@%bp_version%>&2

echo TEST_ENV: %TEST_ENV%> build-info-%bp_id%-%bp_version%
call :echon %CNB_BUILDPACK_DIR%> build-env-cnb-buildpack-dir-%bp_id%-%bp_version%

mkdir build-env-%bp_id%-%bp_version%
xcopy /e /q %platform_dir%\env build-env-%bp_id%-%bp_version% >nul
Expand Down
1 change: 1 addition & 0 deletions testdata/buildpack/bin/detect.bat
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ call :echon detect err: %bp_id%@%bp_version%>&2

dir /b %platform_dir%\env > detect-env-%bp_id%-%bp_version%
call :echon %ENV_TYPE%> detect-env-type-%bp_id%-%bp_version%
call :echon %CNB_BUILDPACK_DIR%> detect-env-cnb-buildpack-dir-%bp_id%-%bp_version%

if exist detect-plan-%bp_id%-%bp_version%.toml (
type detect-plan-%bp_id%-%bp_version%.toml > %plan_path%
Expand Down

0 comments on commit 322ee31

Please sign in to comment.