Skip to content

Commit

Permalink
Update script (dotnet#1228)
Browse files Browse the repository at this point in the history
  • Loading branch information
josefpihrt authored Oct 19, 2023
1 parent e4241f7 commit 7bc8912
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tools/generate_ref_docs.ps1
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
dotnet restore generate_ref_docs.sln -v minimal /m
dotnet build generate_ref_docs.sln --no-restore -c Release -v minimal /m

dotnet restore "../src/CommandLine.sln" -v minimal /m
dotnet build "../src/CommandLine.sln" --no-restore -c Release -v minimal /m

$roslynatorExe="../src/CommandLine/bin/Release/net7.0/Roslynator"
$rootDirectoryUrl="build/ref"

& $roslynatorExe generate-doc generate_ref_docs.sln `
& "../src/CommandLine/bin/Release/net7.0/Roslynator" generate-doc generate_ref_docs.sln `
--properties Configuration=Release `
-o $rootDirectoryUrl `
-o "build/ref" `
--host docusaurus `
--heading "Roslynator .NET API Reference" `
--group-by-common-namespace `
Expand Down

0 comments on commit 7bc8912

Please sign in to comment.