File tree Expand file tree Collapse file tree 2 files changed +20
-11
lines changed Expand file tree Collapse file tree 2 files changed +20
-11
lines changed Original file line number Diff line number Diff line change 1212 @ pause
1313 @ goto:eof
1414)
15-
16- set installBinaries = false
17- if /i " !executionEnvironment! " == " Production" set installBinaries = true
18- if /i " !launchedBy! " == " server" set installBinaries = true
19-
20- :: Pull down the .NET executable of this module
21- if /i " !installBinaries! " == " true" (
22- set imageName = !moduleId! -!moduleVersion! .zip
23- call " %utilsScript% " GetFromServer " binaries/" " !imageName! " " bin" " Downloading !imageName! ..."
15+ if /i " !executionEnvironment! " == " Production" (
16+ call " !utilsScript! " WriteLine " No custom setup steps for this module." " !color_info! "
2417) else (
2518 :: If we're in dev-setup mode we'll build the module now so the self-test will work
2619 pushd " !moduleDirPath! "
2720 call " !utilsScript! " WriteLine " Building project..." " !color_info! "
28- dotnet build -c Debug -o " !moduleDirPath! /bin/Debug/!dotNetTarget! " > NUL
21+ if /i " %verbosity% " neq " quiet" (
22+ dotnet build -c Debug -o " !moduleDirPath! /bin/Debug/!dotNetTarget! "
23+ ) else (
24+ dotnet build -c Debug -o " !moduleDirPath! /bin/Debug/!dotNetTarget! " > NUL
25+ )
2926 popd
3027)
3128
Original file line number Diff line number Diff line change 1313 @ goto:eof
1414)
1515
16- REM Nothing to do here...
16+ if /i " !executionEnvironment! " == " Production" (
17+ call " !utilsScript! " WriteLine " No custom setup steps for this module." " !color_info! "
18+ ) else (
19+ :: If we're in dev-setup mode we'll build the module now so the self-test will work
20+ pushd " !moduleDirPath! "
21+ call " !utilsScript! " WriteLine " Building project..." " !color_info! "
22+ if /i " %verbosity% " neq " quiet" (
23+ dotnet build -c Debug -o " !moduleDirPath! /bin/Debug/!dotNetTarget! "
24+ ) else (
25+ dotnet build -c Debug -o " !moduleDirPath! /bin/Debug/!dotNetTarget! " > NUL
26+ )
27+ popd
28+ )
1729
1830REM set moduleInstallErrors=
You can’t perform that action at this time.
0 commit comments