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:
parent
575af58bfb
commit
aa324ab9f5
15
eng/common/scripts/Verify-Readme.ps1
Normal file
15
eng/common/scripts/Verify-Readme.ps1
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user