Skip to content

Commit

Permalink
updated build script due to failures
Browse files Browse the repository at this point in the history
  • Loading branch information
scrthq committed Sep 13, 2019
1 parent 5528d66 commit fe997cf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ else {
'Install-Module:ErrorAction' = 'Stop'
'Install-Module:Force' = $true
'Install-Module:Scope' = 'CurrentUser'
'Install-Module:Repository' = 'PSGallery'
'Install-Module:Verbose' = $false
}}
Invoke-CommandWithLog {Get-PackageProvider -Name Nuget -ForceBootstrap -Verbose:$false}
Expand All @@ -62,7 +63,9 @@ else {
PackageManagement = '1.4.4'
PowerShellGet = '2.2.1'
}
$modHash.Keys | Resolve-Module -UpdateModules @verbose
$modHash.GetEnumerator() | ForEach-Object {
Install-Module $_.Key -MinimumVersion $_.Value
}

Add-Heading "Finalizing build prerequisites"
if (
Expand Down

0 comments on commit fe997cf

Please sign in to comment.