add support for passed arguments
Add environment variable SuiteArgs that can be used to pass arguments to powershell. For example set SuiteArgs=-verbose will set powershell execution output to verbose
This commit is contained in:
Родитель
3fd43b8a9f
Коммит
d6eb6798b7
|
@ -41,7 +41,7 @@
|
|||
@SET DeploymentScripts=%~dp0\Common\Deployment
|
||||
@SET BuildPath=%~dp0Build_Output\%Configuration%
|
||||
@SET PowerShellCmd=%windir%\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Unrestricted -Command
|
||||
@SET PublishCmd=%PowerShellCmd% %DeploymentScripts%\PrepareIoTSample.ps1 -environmentName %EnvironmentName% -configuration %Configuration%
|
||||
@SET PublishCmd=%PowerShellCmd% %DeploymentScripts%\PrepareIoTSample.ps1 -environmentName %EnvironmentName% -configuration %Configuration% %SuiteArgs%
|
||||
|
||||
@IF /I '%AzureEnvironmentName%' NEQ '' (
|
||||
Set PublishCmd=%PublishCmd% -azureEnvironmentName %AzureEnvironmentName%
|
||||
|
|
Загрузка…
Ссылка в новой задаче