Skip to content

Commit 2ff001d

Browse files
committed
Try switch to use Powershell with windows 2022.
1 parent e3f5df5 commit 2ff001d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

generate.ps1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
docfx metadata
1+
if(Test-Path -Path './docfx') {
2+
./docfx/docfx.exe metadata
3+
} else {
4+
docfx metadata
5+
}
26
Get-ChildItem './api/*.yml' | ForEach {
37
(Get-Content $_) | ForEach {$_ -Replace 'git@github.com:ServiceStack/ServiceStack.git', 'https://github.com/ServiceStack/ServiceStack'} | Set-Content $_
48
}

0 commit comments

Comments
 (0)