Skip to content

Commit c0bf381

Browse files
committed
add publish for generator
1 parent 885abaf commit c0bf381

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
@@ -25,6 +25,12 @@
2525
dotnet publish {source} -c Release -o .artifacts/publish \
2626
--self-contained true /p:PublishTrimmed=true /p:PublishSingleFile=false /p:PublishAot=true
2727
""";
28+
29+
var generatorSource = "src/docs-generator/docs-generator.csproj";
30+
await $"""
31+
dotnet publish {generatorSource} -c Release -o .artifacts/publish \
32+
--self-contained true /p:PublishTrimmed=true /p:PublishSingleFile=false /p:PublishAot=true
33+
""";
2834
});
2935

3036
// this is manual for now and quite hacky.

0 commit comments

Comments
 (0)