Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit 94f159e

Browse files
need to build the docs from the build
1 parent 75c0e71 commit 94f159e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

build/Program.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ static class Program
88
private const string ArtifactsDir = "artifacts";
99

1010
private const string Clean = nameof(Clean);
11+
private const string GenerateDocumentation = nameof(GenerateDocumentation);
1112
private const string Build = nameof(Build);
1213
private const string RunTests = nameof(RunTests);
1314
private const string Pack = nameof(Pack);
@@ -28,9 +29,14 @@ public static void Main(string[] args)
2829
Directory.Delete(ArtifactsDir, true);
2930
}
3031
});
32+
33+
Target(
34+
GenerateDocumentation,
35+
() => Run("dotnet", "build docs/docs.csproj"));
3136

3237
Target(
3338
Build,
39+
DependsOn(GenerateDocumentation),
3440
() => Run(
3541
"dotnet",
3642
$"build src/SqlStreamStore.HAL.sln -c Release /p:BuildMetadata={buildMetadata}"));

0 commit comments

Comments
 (0)