File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,12 @@ Set-PSRepository -Name PSGallery -InstallationPolicy Trusted
1515if (-not (Get-Module - Name PSDepend - ListAvailable)) {
1616 Install-module - Name PSDepend - Repository PSGallery
1717}
18- Import-Module - Name PSDepend - ErrorAction Stop
19- Invoke-PSDepend - Path .\requirements.psd1 - Install - Import - Force > $null
18+ Import-Module - Name PSDepend
19+ Invoke-PSDepend - Path .\requirements.psd1 - Install - Import - Force
20+ if (-not (Get-Module - Name BuildHelpers - ListAvailable)) {
21+ Install-Module - Name BuildHelpers - AllowClobber
22+ }
23+ Import-Module - Name BuildHelpers
2024
2125if ($PSBoundParameters.ContainsKey (' help' )) {
2226 Get-PSakeScriptTasks - buildFile " $PSScriptRoot \psake.ps1" |
Original file line number Diff line number Diff line change 22 PSDependOptions = @ {
33 Target = ' CurrentUser'
44 }
5- buildhelpers = ' latest'
65 psake = ' latest'
76 pester = ' latest'
87 psscriptanalyzer = ' latest'
You can’t perform that action at this time.
0 commit comments