Skip to content

Commit

Permalink
Compile Docs should not compile tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wallymathieu committed Feb 2, 2025
1 parent 8be9b5c commit c7fca17
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.proj
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,14 @@
<!-- dotnet msbuild -target:AllDocs build.proj -->
<Target Name="AllDocs">
<Exec Command='dotnet tool restore' WorkingDirectory="$(RepoRootDir)" IgnoreStandardErrorWarningFormat="true" />
<Exec Command='dotnet build FSharpPlus.sln -c Release' WorkingDirectory="$(RepoRootDir)" IgnoreStandardErrorWarningFormat="true" />
<!-- compile docs-project since that implies F#+ as well: -->
<Exec Command='dotnet build src/FSharpPlus.Docs -c Release' WorkingDirectory="$(RepoRootDir)" IgnoreStandardErrorWarningFormat="true" />
<Exec Command='dotnet run -c Release --project ./docsrc/tools' WorkingDirectory="$(RepoRootDir)" IgnoreStandardErrorWarningFormat="true" />
</Target>

<Target Name="ReleaseDocs">
<Exec Command='dotnet tool restore' WorkingDirectory="$(RepoRootDir)" IgnoreStandardErrorWarningFormat="true" />
<Exec Command='dotnet build FSharpPlus.sln -c Release' WorkingDirectory="$(RepoRootDir)" IgnoreStandardErrorWarningFormat="true" />
<Exec Command='dotnet build src/FSharpPlus -c Release' WorkingDirectory="$(RepoRootDir)" IgnoreStandardErrorWarningFormat="true" />
<Exec Command='dotnet run -c Release --project ./docsrc/tools ReleaseDocs' WorkingDirectory="$(RepoRootDir)" IgnoreStandardErrorWarningFormat="true" />
</Target>

Expand Down

0 comments on commit c7fca17

Please sign in to comment.