Skip to content

Commit ff247cf

Browse files
Sync eng/common directory with azure-sdk-tools for PR 2380 (Azure#25668)
* Add PowerShell Script for Validating READMEs * Remember my VSCode doesn't use autosave Co-authored-by: Alan Zimmer <[email protected]>
1 parent d73a8b0 commit ff247cf

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

eng/common/scripts/Verify-Readme.ps1

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Wrapper Script for Readme Verification
2+
[CmdletBinding()]
3+
param (
4+
[string]$DocWardenVersion = "0.7.1",
5+
6+
[Parameter(Mandatory = $true)]
7+
[string]$ScanPath,
8+
9+
[Parameter(Mandatory = $true)]
10+
[string]$SettingsPath
11+
)
12+
13+
pip install setuptools wheel --quiet
14+
pip install doc-warden==$DocWardenVersion --quiet
15+
ward scan -d $ScanPath -c $SettingsPath

0 commit comments

Comments
 (0)