Pin synth DSL as local package

This commit is contained in:
Meta Vens 2026-05-13 00:19:02 +01:00
commit c556c8beb7
10 changed files with 48 additions and 20 deletions

View file

@ -0,0 +1,20 @@
param(
[string]$SynthRepo = "E:\Projects\AquariumSynthCSharp",
[string]$Configuration = "Release"
)
$ErrorActionPreference = "Stop"
$root = Resolve-Path (Join-Path $PSScriptRoot "..")
$feed = Join-Path $root "packages"
$project = Join-Path $SynthRepo "src\AquariumSynth.Dsl\AquariumSynth.Dsl.csproj"
if (-not (Test-Path $project)) {
throw "AquariumSynth.Dsl project not found at $project"
}
New-Item -ItemType Directory -Force -Path $feed | Out-Null
dotnet pack $project -c $Configuration -o $feed
Write-Host "Packed AquariumSynth.Dsl into $feed"
Write-Host "If the package version changed, update src\Aquarium.Engine\Aquarium.Engine.csproj to match."