You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- install:
- - ps: |
- Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force
- Install-Module platyPS -Force
- Install-Module MarkdownLinkCheck -Force
- Import-Module platyPS
- Import-Module MarkdownLinkCheck
-
- init:
- - ps: git config --global core.autocrlf true
-
- build_script:
- - ps: Import-Module -Force NTFSSecurity\NTFSSecurity\NTFSSecurity.psm1
-
- test_script:
- - ps: |
- $ErrorActionPreference = 'Stop'
-
- # 01. Test that documentation is up-to-date
- Update-MarkdownHelp -Path ./Docs/Cmdlets
- $Diff = git diff
- if ($Diff) {
- throw "Help is not up-to-date, run Update-MarkdownHelp: $diff"
- }
-
- # 02. Verify hyperlinks
- $BrokenLinks = Get-MarkdownLink -Path .\Docs -BrokenOnly
- if ($brokenLinks) {
- throw "Found broken hyperlinks $brokenLinks"
- }
|