Package CultMesh NuGet dependency closure
This commit is contained in:
parent
340df225d4
commit
bf9629000a
2 changed files with 110 additions and 0 deletions
17
docs/nuget-packaging.md
Normal file
17
docs/nuget-packaging.md
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# NuGet Packaging
|
||||
|
||||
CultLib publishes the managed dependency graph as separate packages. The leaf
|
||||
package is `GameCult.Mesh`; its NuGet dependencies preserve the CultMesh,
|
||||
CultNet, and CultCache ownership boundaries.
|
||||
|
||||
```powershell
|
||||
powershell -ExecutionPolicy Bypass -File .\scripts\pack-nuget.ps1
|
||||
```
|
||||
|
||||
The command creates a local feed under `artifacts/nuget`, verifies that every
|
||||
internal dependency package exists at the same version, then restores and runs
|
||||
a clean .NET consumer using only `PackageReference Include="GameCult.Mesh"`.
|
||||
|
||||
The Unity distribution remains `org.gamecult.cultlib`, built by
|
||||
`scripts/build-unity-package.ps1`, because Unity consumes the managed assembly
|
||||
closure through UPM rather than NuGet restore.
|
||||
Loading…
Reference in a new issue