This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # PSDepend 0.3.8 doesn't yet support Choco dependency type on powershell core | |
| # This script will read the choco dependencies in your *requirements.psd1 and then run them against the chocolatey.ps1 dependency script | |
| # alternatively you could add 'core' to your PSDependMap.psd1 file which also worked for me, but won't survive a module upgrade | |
| param( | |
| [string]$DependsTypeString = 'Chocolatey', | |
| [ValidateSet('Test', 'Install')] | |
| [string[]]$PSDependAction = 'Install', | |
| [securestring]$Credential, | |
| [string]$Source, |