This page is for contributors and cross-repo developers working on DevOp.Toon alongside other TOON repositories.
Run these from the repository root:
dotnet restore
dotnet build
dotnet test
dotnet test --collect:"XPlat Code Coverage"
dotnet format
If encoding or decoding behavior changes, regenerate spec-driven tests:
./specgen.sh
or on Windows:
./specgen.ps1
Debug builds can resolve sibling TOON repos from local project paths rather than NuGet packages.
| Variable | MSBuild property | Substitutes |
|---|---|---|
DEVOP_TOON_CORE_CSPROJ |
ToonCoreProjectPath |
DevOp.Toon.Core NuGet reference |
DEVOP_TOON_API_CSPROJ |
ToonApiProjectPath |
DevOp.Toon.API NuGet reference (test host) |
Example:
export DEVOP_TOON_CORE_CSPROJ=<path-to>/DevOp.Toon.Core/DevOp.Toon.Core.csproj
export DEVOP_TOON_API_CSPROJ=<path-to>/DevOp.Toon.API/src/DevOp.Toon.API/DevOp.Toon.API.csproj
dotnet build -c Debug
Release builds always use NuGet so outputs stay reproducible. Do not hardcode paths.
The local override model makes it practical to work on DevOp.Toon.Core, DevOp.Toon, and related projects together without turning the repo into a machine-specific setup.