Skip to content

Commit

Permalink
Equalise hello-world-windows and hello-moon-windows
Browse files Browse the repository at this point in the history
These are both no-op buildpacks, make them syntactically the same.

Signed-off-by: Aidan Delaney <adelaney21@bloomberg.net>
  • Loading branch information
AidanDelaney committed Jun 23, 2023
1 parent 3d36d5f commit f5fb825
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion buildpacks/hello-moon-windows/bin/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@

echo --- Hello Moon buildpack

set env_dir=%2\env
:: INPUT ARGUMENTS
set platform_dir=%2
set env_dir=%platform_dir%\env
set layers_dir=%1
set plan_path=%3

:: ENV VARS
echo env_dir: %env_dir%
echo env_vars:
for /f "tokens=*" %%f in ('dir /s /q /b %env_dir%') do (
Expand All @@ -17,7 +20,10 @@ for /f "tokens=*" %%o in ('set') do (
echo %%o
)

:: LAYERS
echo layers_dir: %layers_dir%

:: PLAN
echo plan_path: %plan_path%
echo plan contents:
for /f "tokens=*" %%o in ('type %plan_path%') do (
Expand Down

0 comments on commit f5fb825

Please sign in to comment.