azure-sdk-for-cpp/eng/common/scripts/Verify-Readme.ps1
Azure SDK Bot aa324ab9f5
Sync eng/common directory with azure-sdk-tools for PR 2380 (#3155)
* Add PowerShell Script for Validating READMEs

* Remember my VSCode doesn't use autosave

Co-authored-by: Alan Zimmer <48699787+alzimmermsft@users.noreply.github.com>
2021-12-02 19:07:07 -08:00

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