Changed formatting defaults
44ef8f41
Adam Rush
committed
succeeded
14 changed files
settings.json
/.vscode/settings.json
/.vscode/settings.json
build.ps1
/Build/build.ps1-7+2
utf-8 -> Windows-1252
/Build/build.ps1
Add comment 23 $PSVersionTable
Add comment 24
Add comment 25 # Load dependencies
Add comment 26 Minus  if ($PSBoundParameters.Keys -contains 'ResolveDependency')
Add comment 27 Minus  {
Add comment 26 Plus  if ($PSBoundParameters.Keys -contains 'ResolveDependency') {
Add comment 28 27 # Bootstrap environment
Add comment 29 28 Get-PackageProvider -Name 'NuGet' -ForceBootstrap | Out-Null
Add comment 30 29
Add comment 52 51
Add comment 53 52 # Remove ResolveDependency PSBoundParameter ready for passthru to PSake
Add comment 54 53 $PSBoundParameters.Remove('ResolveDependency')
Add comment 55 Minus  }
Add comment 56 Minus  else
Add comment 57 Minus  {
Add comment 54 Plus  } else {
Add comment 58 55 Write-Host "Skipping dependency check...`n" -ForegroundColor 'Yellow'
Add comment 59 56 }
Add comment 60 57
Add comment 62 59 Set-BuildEnvironment -Force
Add comment 63 60
Add comment 64 61 # Import module
Add comment 65 Minus  # TODO: add AzDO error reporting with:
Add comment 66 Minus  # Write-Host “##vso[task.logissue type=error;] PowerShell Error Test”
Add comment 67 62 Import-Module -Name $env:BHPSModuleManifest -ErrorAction 'Stop' -Force
Add comment 68 63
Add comment 69 64 # Execute PSake tasts
build.psake.ps1
/Build/build.psake.ps1-6+3
/Build/build.psake.ps1
Add comment 108 try {
Add comment 109 $Version = Get-NextPSGalleryVersion -Name $env:BHProjectName -ErrorAction 'Stop'
Add comment 110 Update-Metadata -Path $env:BHPSModuleManifest -PropertyName 'ModuleVersion' -Value $Version -ErrorAction 'Stop'
Add comment 111 Minus   }
Add comment 112 Minus   catch {
Add comment 111 Plus   } catch {
Add comment 113 112 "Failed to update version for '$env:BHProjectName': $_.`nContinuing with existing version"
Add comment 114 113 }
Add comment 115 114 }
Add comment 210 209 $manifest = Test-ModuleManifest -Path $env:BHPSModuleManifest -ErrorAction 'Stop'
Add comment 211 210 [Version]$manifestVersion = $manifest.Version
Add comment 212 211
Add comment 213 Minus   }
Add comment 214 Minus   catch {
Add comment 212 Plus   } catch {
Add comment 215 213 throw "Could not get manifest version from [$env:BHPSModuleManifest]"
Add comment 216 214 }
Add comment 217 215
Add comment 221 219 $releasePath = Join-Path -Path $ArtifactFolder -ChildPath $releaseFilename
Add comment 222 220 Write-Host "Creating release artifact [$releasePath] using manifest version [$manifestVersion]" -ForegroundColor 'Yellow'
Add comment 223 221 Compress-Archive -Path "$StagingFolder/*" -DestinationPath $releasePath -Force -Verbose -ErrorAction 'Stop'
Add comment 224 Minus   }
Add comment 225 Minus   catch {
Add comment 222 Plus   } catch {
Add comment 226 223 throw "Could not create release artifact [$releasePath] using manifest version [$manifestVersion]"
Add comment 227 224 }
Add comment 228 225
deploy.psdeploy.ps1
/Build/deploy.psdeploy.ps1
/Build/deploy.psdeploy.ps1
Get-EqualOrNextHighestNumber.ps1
/PSvCloud/Private/Get-EqualOrNextHighestNumber.ps1
/PSvCloud/Private/Get-EqualOrNextHighestNumber.ps1
Test-CIConnection.ps1
/PSvCloud/Private/Test-CIConnection.ps1
/PSvCloud/Private/Test-CIConnection.ps1
Set-Media.ps1
/PSvCloud/Public/Catalog/Set-Media.ps1
/PSvCloud/Public/Catalog/Set-Media.ps1
Get-CIEdge.ps1
/PSvCloud/Public/Edge/Get-CIEdge.ps1
/PSvCloud/Public/Edge/Get-CIEdge.ps1
Get-CIEdgeSecurityCheck.ps1
/PSvCloud/Public/Edge/Get-CIEdgeSecurityCheck.ps1
/PSvCloud/Public/Edge/Get-CIEdgeSecurityCheck.ps1
Get-CIEdgeView.ps1
/PSvCloud/Public/Edge/Get-CIEdgeView.ps1
/PSvCloud/Public/Edge/Get-CIEdgeView.ps1
Get-CIEdgeXML.ps1
/PSvCloud/Public/Edge/Get-CIEdgeXML.ps1
/PSvCloud/Public/Edge/Get-CIEdgeXML.ps1
Get-CIVMPrice.ps1
/PSvCloud/Public/VM/Get-CIVMPrice.ps1
/PSvCloud/Public/VM/Get-CIVMPrice.ps1
PSvCloud.psd1
/PSvCloud/PSvCloud.psd1
/PSvCloud/PSvCloud.psd1
PSvCloud.psm1
/PSvCloud/PSvCloud.psm1
/PSvCloud/PSvCloud.psm1