You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Changed all occurrences of `master` to `main` in:
- CI workflow configuration
- Documentation files
- Example dependency files
- PowerShell scripts
* Ensures consistency with the new default branch naming convention.
PSDepend is extensible. To add a new dependency type, create a script in the [PSDependScripts folder](https://github.com/PowerShellOrg/PSDepend/tree/master/PSDepend/PSDependScripts) and register it in [PSDependMap.psd1](https://github.com/PowerShellOrg/PSDepend/blob/master/PSDepend/PSDependMap.psd1).
185
+
PSDepend is extensible. To add a new dependency type, create a script in the [PSDependScripts folder](https://github.com/PowerShellOrg/PSDepend/tree/main/PSDepend/PSDependScripts) and register it in [PSDependMap.psd1](https://github.com/PowerShellOrg/PSDepend/blob/main/PSDepend/PSDependMap.psd1).
186
186
187
187
Your script must:
188
188
189
189
- Include comment-based help describing how it uses `Dependency` metadata
190
190
- Accept a `PSDependAction` parameter with values `Install`, `Test`, and/or `Import`
191
191
- Implement the expected behavior for each action (`Install` installs, `Test` returns a boolean, `Import` loads the dependency)
192
192
193
-
See [Git.ps1](https://github.com/PowerShellOrg/PSDepend/blob/master/PSDepend/PSDependScripts/Git.ps1) and [PSGalleryModule.ps1](https://github.com/PowerShellOrg/PSDepend/blob/master/PSDepend/PSDependScripts/PSGalleryModule.ps1) for reference implementations.
193
+
See [Git.ps1](https://github.com/PowerShellOrg/PSDepend/blob/main/PSDepend/PSDependScripts/Git.ps1) and [PSGalleryModule.ps1](https://github.com/PowerShellOrg/PSDepend/blob/main/PSDepend/PSDependScripts/PSGalleryModule.ps1) for reference implementations.
0 commit comments