@@ -55,10 +55,12 @@ All build logic lives in `build/`. Workflows call these targets instead of raw `
5555| ** Build** | Restore | Build the solution |
5656| ** Test** | Build | Run tests with coverage (trx + Coverlet) |
5757| ** Pack** | Test | Pack NuGet packages (.nupkg + .snupkg) |
58- | ** Publish** | Restore | Publish the selected host for a given ` --Host ` and ` --Runtime ` |
58+ | ** Publish** | Restore | Publish the selected host for a given ` --PublishHost ` and ` --Runtime ` |
5959| ** PackageApp** | Publish | Zip published output to ` app-{host}-{runtime}.zip ` |
6060| ** Format** | Restore | ` dotnet format --verify-no-changes ` |
6161| ** CoverageReport** | Test | Generate HTML + Cobertura coverage report |
62+ | ** Doc** | DocsBuild | Clear any same-port docs server and start the docs dev server |
63+ | ** DocsBuild** | — | Install docs dependencies when needed and run ` vitepress build ` |
6264| ** ShowVersion** | — | Print current ` VersionPrefix ` |
6365| ** UpdateVersion** | — | Bump patch or set ` --VersionPrefix ` explicitly |
6466| ** GenerateReleaseManifest** | Pack | Create ` release-manifest.json ` with SHA256 hashes |
@@ -68,8 +70,11 @@ All build logic lives in `build/`. Workflows call these targets instead of raw `
6870``` bash
6971./build.sh Test # Build + Test
7072./build.sh Pack # Build + Test + Pack
71- ./build.sh Publish --Host web --Runtime linux-x64 --SelfContained # Publish self-contained web host
73+ ./build.sh Publish --PublishHost web --Runtime linux-x64 --SelfContained # Publish self-contained web host
7274./build.sh CoverageReport # Generate coverage HTML
75+ ./build.sh DocsBuild # Build the docs site
76+ ./build.sh Doc # Install docs deps, kill any existing server, and start docs dev server on port 5173
77+ ./build.sh Doc --DocsPort 8080 # Same on a custom port (Ctrl+C to stop)
7378./build.sh ShowVersion # Print version
7479./build.sh UpdateVersion # Patch bump (e.g. 0.2.0 → 0.2.1)
7580./build.sh UpdateVersion --VersionPrefix 1.0.0 # Set version explicitly
@@ -82,9 +87,10 @@ All build logic lives in `build/`. Workflows call these targets instead of raw `
8287| ` --Configuration ` | ` Debug ` (local) / ` Release ` (CI) | Build configuration |
8388| ` --VersionPrefix ` | — | Version to set (used by ` UpdateVersion ` ) |
8489| ` --VersionSuffix ` | — | Prerelease suffix (e.g. ` ci.42 ` ) |
85- | ` --Host ` | — | Host to publish (` web ` or ` cli ` ) |
90+ | ` --PublishHost ` | — | Host to publish (` web ` or ` cli ` ) |
8691| ` --Runtime ` | — | Target RID for ` Publish ` (e.g. ` linux-x64 ` ) |
8792| ` --SelfContained ` | ` false ` | Produce self-contained output |
93+ | ` --DocsPort ` | ` 5173 ` | Port used by ` Doc ` |
8894
8995### Artifacts
9096
@@ -106,6 +112,9 @@ npm install
106112npm run docs:dev # Local dev server at http://localhost:5173
107113npm run docs:build # Production build
108114npm run docs:preview # Preview production build
115+
116+ # Or use NUKE from the repository root (blocks until Ctrl+C)
117+ build.ps1 Doc
109118```
110119
111120## Next Steps
0 commit comments