|
208 | 208 | ContinueOnError="false"
|
209 | 209 | Condition=" '$(SkipHelp)' == 'false' and '$(Latest)' == 'true'"/>
|
210 | 210 | <CallTarget Targets="BuildSetupTest"/>
|
| 211 | + <!-- moved copy tasks --> |
| 212 | + |
| 213 | + <Exec Command=""$(PowerShellCommand)" -NonInteractive -NoLogo -NoProfile -Command ". $(LibraryToolsFolder)\UpdateModules.ps1 $(Configuration) $(Scope) -Profile Latest " " Condition="'$(Latest)' == 'true' "/> |
| 214 | + <Exec Command=""$(PowerShellCommand)" -NonInteractive -NoLogo -NoProfile -Command ". $(LibraryToolsFolder)\UpdateModules.ps1 $(Configuration) $(Scope) -Profile Stack " " Condition="'$(Stack)' == 'true' "/> |
| 215 | + <!-- Copying shortcut to be signed --> |
| 216 | + <Copy SourceFiles="$(LibraryRoot)tools\AzureRM\AzureRM.psd1" |
| 217 | + DestinationFolder="$(LibrarySourceFolder)\Package\$(Configuration)" Condition= " '$(NetCore)' == 'false' and '$(Latest)' == 'true'"/> |
| 218 | + <Copy SourceFiles="$(LibraryRoot)tools\AzureRM\AzureRM.psm1" |
| 219 | + DestinationFolder="$(LibrarySourceFolder)\Package\$(Configuration)" Condition= " '$(NetCore)' == 'false' and '$(Latest)' == 'true'"/> |
| 220 | + |
| 221 | + <Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureRM\AzureRM.psd1" |
| 222 | + DestinationFolder="$(LibrarySourceFolder)\Stack\$(Configuration)" Condition= " '$(NetCore)' == 'false' and '$(Stack)' == 'true' "/> |
| 223 | + <Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureRM\AzureRM.psm1" |
| 224 | + DestinationFolder="$(LibrarySourceFolder)\Stack\$(Configuration)" Condition= " '$(NetCore)' == 'false' and '$(Stack)' == 'true' "/> |
| 225 | + <Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureStack\AzureStack.psd1" |
| 226 | + DestinationFolder="$(LibrarySourceFolder)\Stack\$(Configuration)" Condition= " '$(NetCore)' == 'false' and '$(Stack)' == 'true' "/> |
| 227 | + <Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureStack\AzureStack.psm1" |
| 228 | + DestinationFolder="$(LibrarySourceFolder)\Stack\$(Configuration)" Condition= " '$(NetCore)' == 'false' and '$(Stack)' == 'true' "/> |
| 229 | + |
| 230 | + <Copy SourceFiles="$(LibraryRoot)setup\Setup\RemoveGalleryModules.ps1" |
| 231 | + DestinationFolder="$(LibrarySourceFolder)\Package\$(Configuration)" |
| 232 | + Condition=" '$(CodeSign)' == 'true' "/> |
| 233 | + <Copy SourceFiles="$(LibraryRoot)setup\Setup\SetExecutionPolicy.ps1" |
| 234 | + DestinationFolder="$(LibrarySourceFolder)\Package\$(Configuration)" |
| 235 | + Condition=" '$(CodeSign)' == 'true' "/> |
| 236 | + |
211 | 237 | <CallTarget Targets="CodeSignBinaries" Condition=" '$(CodeSign)' == 'true' " />
|
| 238 | + |
| 239 | + |
| 240 | + <Copy SourceFiles="$(LibrarySourceFolder)\Package\$(Configuration)\AzureRM.psd1" |
| 241 | + DestinationFolder="$(LibraryRoot)tools\AzureRM" Condition= " '$(NetCore)' == 'false' and '$(Latest)' == 'true' "/> |
| 242 | + <Copy SourceFiles="$(LibrarySourceFolder)\Package\$(Configuration)\AzureRM.psm1" |
| 243 | + DestinationFolder="$(LibraryRoot)tools\AzureRM" Condition= " '$(NetCore)' == 'false' and '$(Latest)' == 'true' "/> |
| 244 | + <Copy SourceFiles="$(LibrarySourceFolder)\Stack\$(Configuration)\AzureRM.psd1" |
| 245 | + DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureRM" Condition= " '$(NetCore)' == 'false' and '$(Stack)' == 'true' "/> |
| 246 | + <Copy SourceFiles="$(LibrarySourceFolder)\Stack\$(Configuration)\AzureRM.psm1" |
| 247 | + DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureRM" Condition= " '$(NetCore)' == 'false' and '$(Stack)' == 'true' "/> |
| 248 | + <Copy SourceFiles="$(LibrarySourceFolder)\Stack\$(Configuration)\AzureStack.psd1" |
| 249 | + DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureStack" Condition= " '$(NetCore)' == 'false' and '$(Stack)' == 'true' "/> |
| 250 | + <Copy SourceFiles="$(LibrarySourceFolder)\Stack\$(Configuration)\AzureStack.psm1" |
| 251 | + DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureStack" Condition= " '$(NetCore)' == 'false' and '$(Stack)' == 'true' "/> |
| 252 | +<!-- moved copy tasks --> |
| 253 | + |
212 | 254 | <CallTarget Targets="BuildSetup" Condition=" '$(SkipHelp)' == 'false' "/>
|
213 | 255 | <CallTarget Targets="CodeSignInstaller"
|
214 | 256 | Condition=" '$(CodeSign)' == 'true' and '$(Scope)' == 'all'" />
|
|
325 | 367 | <GetFrameworkSdkPath>
|
326 | 368 | <Output TaskParameter="Path" PropertyName="WindowsSdkPath"/>
|
327 | 369 | </GetFrameworkSdkPath>
|
328 |
| - <Exec Command=""$(PowerShellCommand)" -NonInteractive -NoLogo -NoProfile -Command ". $(LibraryToolsFolder)\UpdateModules.ps1 $(Configuration) $(Scope) -Profile Latest " " Condition="'$(Latest)' == 'true' "/> |
329 |
| - <Exec Command=""$(PowerShellCommand)" -NonInteractive -NoLogo -NoProfile -Command ". $(LibraryToolsFolder)\UpdateModules.ps1 $(Configuration) $(Scope) -Profile Stack " " Condition="'$(Stack)' == 'true' "/> |
330 |
| - <!-- Copying shortcut to be signed --> |
331 |
| - <Copy SourceFiles="$(LibraryRoot)tools\AzureRM\AzureRM.psd1" |
332 |
| - DestinationFolder="$(LibrarySourceFolder)\Package\$(Configuration)" Condition= " '$(NetCore)' == 'false' and '$(Latest)' == 'true'"/> |
333 |
| - <Copy SourceFiles="$(LibraryRoot)tools\AzureRM\AzureRM.psm1" |
334 |
| - DestinationFolder="$(LibrarySourceFolder)\Package\$(Configuration)" Condition= " '$(NetCore)' == 'false' and '$(Latest)' == 'true'"/> |
335 |
| - |
336 |
| - <Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureRM\AzureRM.psd1" |
337 |
| - DestinationFolder="$(LibrarySourceFolder)\Stack\$(Configuration)" Condition= " '$(NetCore)' == 'false' and '$(Stack)' == 'true' "/> |
338 |
| - <Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureRM\AzureRM.psm1" |
339 |
| - DestinationFolder="$(LibrarySourceFolder)\Stack\$(Configuration)" Condition= " '$(NetCore)' == 'false' and '$(Stack)' == 'true' "/> |
340 |
| - <Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureStack\AzureStack.psd1" |
341 |
| - DestinationFolder="$(LibrarySourceFolder)\Stack\$(Configuration)" Condition= " '$(NetCore)' == 'false' and '$(Stack)' == 'true' "/> |
342 |
| - <Copy SourceFiles="$(LibrarySourceFolder)\StackAdmin\AzureStack\AzureStack.psm1" |
343 |
| - DestinationFolder="$(LibrarySourceFolder)\Stack\$(Configuration)" Condition= " '$(NetCore)' == 'false' and '$(Stack)' == 'true' "/> |
344 | 370 |
|
345 |
| - <Copy SourceFiles="$(LibraryRoot)setup\Setup\RemoveGalleryModules.ps1" |
346 |
| - DestinationFolder="$(LibrarySourceFolder)\Package\$(Configuration)" |
347 |
| - Condition=" '$(CodeSign)' == 'true' "/> |
348 |
| - <Copy SourceFiles="$(LibraryRoot)setup\Setup\SetExecutionPolicy.ps1" |
349 |
| - DestinationFolder="$(LibrarySourceFolder)\Package\$(Configuration)" |
350 |
| - Condition=" '$(CodeSign)' == 'true' "/> |
351 | 371 |
|
352 | 372 | <Copy SourceFiles="$(LibraryRoot)tools\AzureRM.Netcore\AzureRM.Netcore.psd1"
|
353 | 373 | DestinationFolder="$(LibrarySourceFolder)\Package\$(Configuration)" Condition= " '$(NetCore)' == 'true' "/>
|
|
430 | 450 | ContinueOnError="ErrorAndContinue" />
|
431 | 451 |
|
432 | 452 | <!-- Copying signed shortcut back -->
|
433 |
| - <Copy SourceFiles="$(LibrarySourceFolder)\Package\$(Configuration)\AzureRM.psd1" |
434 |
| - DestinationFolder="$(LibraryRoot)tools\AzureRM" Condition= " '$(NetCore)' == 'false' and '$(Latest)' == 'true' "/> |
435 |
| - <Copy SourceFiles="$(LibrarySourceFolder)\Package\$(Configuration)\AzureRM.psm1" |
436 |
| - DestinationFolder="$(LibraryRoot)tools\AzureRM" Condition= " '$(NetCore)' == 'false' and '$(Latest)' == 'true' "/> |
437 |
| - <Copy SourceFiles="$(LibrarySourceFolder)\Stack\$(Configuration)\AzureRM.psd1" |
438 |
| - DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureRM" Condition= " '$(NetCore)' == 'false' and '$(Stack)' == 'true' "/> |
439 |
| - <Copy SourceFiles="$(LibrarySourceFolder)\Stack\$(Configuration)\AzureRM.psm1" |
440 |
| - DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureRM" Condition= " '$(NetCore)' == 'false' and '$(Stack)' == 'true' "/> |
441 |
| - <Copy SourceFiles="$(LibrarySourceFolder)\Stack\$(Configuration)\AzureStack.psd1" |
442 |
| - DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureStack" Condition= " '$(NetCore)' == 'false' and '$(Stack)' == 'true' "/> |
443 |
| - <Copy SourceFiles="$(LibrarySourceFolder)\Stack\$(Configuration)\AzureStack.psm1" |
444 |
| - DestinationFolder="$(LibrarySourceFolder)\StackAdmin\AzureStack" Condition= " '$(NetCore)' == 'false' and '$(Stack)' == 'true' "/> |
445 | 453 | <Copy SourceFiles="$(LibrarySourceFolder)\Package\$(Configuration)\AzureRM.Netcore.psd1"
|
446 | 454 | DestinationFolder="$(LibraryRoot)tools\AzureRM.NetCore" Condition= " '$(NetCore)' == 'true' "/>
|
447 | 455 | </Target>
|
|
0 commit comments