2026-07-10 10:41:39 +01:00
|
|
|
# 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.
|
2026-07-13 18:50:30 +01:00
|
|
|
|
|
|
|
|
Install the Unity package from the immutable release tag:
|
|
|
|
|
|
|
|
|
|
```text
|
2026-08-18 06:33:40 +02:00
|
|
|
https://github.com/GameCult/CultLib.git?path=/unity/org.gamecult.cultlib#cultlib-unity-v1.0.46
|
2026-07-13 18:50:30 +01:00
|
|
|
```
|