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>
This commit is contained in:
Azure SDK Bot 2021-12-02 19:07:07 -08:00 committed by GitHub
parent 575af58bfb
commit aa324ab9f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,15 @@
# 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