Skip to content

Languages

This page is also available in 简体中文 and 日本語.

Build and CI

Solutions

FileContents
Prism.SourceGenerators.slnxMain product projects (generators, Core, Bcl).
Prism.SourceGenerators.Full.slnxProduct + Nuke; documentation site lives in Prism.SourceGenerators.Docs (separate repo today).
build.slnxBuild orchestration project only.

Local commands (Nuke)

bash
# CI-like pipeline: clean, restore, compile, test
dotnet run --project build/_build.csproj -- --target Ci --configuration Release

# Pack NuGet packages
dotnet run --project build/_build.csproj -- --target Pack --configuration Release --version 0.2.0

# Publish to NuGet.org
dotnet run --project build/_build.csproj -- --target Publish --configuration Release --version 0.2.0 --nuget-api-key <NUGET_API_KEY>

Documentation site (this repo)

TaskCommand
Dev servernpm install then npm run docs:dev
Production buildnpm run docs:build
Preview buildnpm run docs:preview

Local dev URL: http://localhost:5173/Prism.SourceGenerators.Docs/

GitHub Actions (.github/workflows/github-pages.yml) runs npm ci and npm run docs:build on pull requests; deploys to GitHub Pages on push to main.

CI signals

  • .NET workflow badge on the README tracks master pipeline health.
  • Tests badge surfaces latest pass / fail / skip counts (see .github/badges/tests.json in the generator repo).
  • Workflow uploads test-results (.trx) for IDE or trx viewers.

Next

Released under the MIT License.

Released under the MIT License.