* Add PowerShell Script for Validating READMEs * Remember my VSCode doesn't use autosave Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
16 lines
349 B
PowerShell
16 lines
349 B
PowerShell
# Wrapper Script for Readme Verification
|
|
[CmdletBinding()]
|
|
param (
|
|
[string]$DocWardenVersion = "0.7.1",
|
|
|
|
[Parameter(Mandatory = $true)]
|
|
[string]$ScanPath,
|
|
|
|
[Parameter(Mandatory = $true)]
|
|
[string]$SettingsPath
|
|
)
|
|
|
|
pip install setuptools wheel --quiet
|
|
pip install doc-warden==$DocWardenVersion --quiet
|
|
ward scan -d $ScanPath -c $SettingsPath
|