git submodule update --init --recursive
dotnet restore ProCad.slnx
dotnet build ProCad.slnx -c Release --no-restore
dotnet test ProCad.Tests/ProCad.Tests.csproj -c Debug -m:1
dotnet test ProCad.Editing.Tests/ProCad.Editing.Tests.csproj -c Debug -m:1
dotnet test ProCad.Controls.Tests/ProCad.Controls.Tests.csproj -c Debug -m:1
Docs use:
.config/dotnet-tools.json to pin Lunetsite/config.scriban for template, bundle, site metadata, and API docssite/menu.yml for top navigationsite/articles/** for authored docssite/articles/**/menu.yml for sidebarssite/.lunet/css/template-main.css for the precompiled template stylesheetsite/.lunet/css/site-overrides.css for ProCad stylingsite/.lunet/includes/_builtins/bundle.sbn-html for the custom bundle includesite/.lunet/layouts/_default.api-dotnet*.sbn-md for API page layout overridesCommands:
./build-docs.sh
./check-docs.sh
./serve-docs.sh
Generated output goes to site/.lunet/build/www.
Build: cross-platform focused build/test validation, macOS full-solution build, and reusable package artifacts.Docs: Lunet build, generated output validation, and GitHub Pages deployment from site/.lunet/build/www.Release: tag/workflow-dispatch validation, shared release metadata resolution, package metadata validation, NuGet publishing, and GitHub release creation.Push a tag named v* to create a release:
git tag v0.1.0-preview.1
git push origin v0.1.0-preview.1
NuGet publishing requires NUGET_API_KEY.