Consume split AquaSynth packages

This commit is contained in:
Meta Vens 2026-05-17 19:18:13 +01:00
commit 1356f110f9
11 changed files with 29 additions and 17 deletions

View file

@ -60,7 +60,8 @@ $requiredFiles = @(
"Aquarium.Engine.exe",
"Aquarium.Epiphany.dll",
"Aquarium.Engine.Contracts.dll",
"AquaSynth.Dsl.dll",
"AquaSynth.Core.dll",
"AquaSynth.Faust.dll",
"Tools\Faust\lib\faust.dll",
"Tools\Faust\share\faust\stdfaust.lib",
"Assets\Aquarium-Engine-Icon.ico",

View file

@ -7,14 +7,20 @@ $ErrorActionPreference = "Stop"
$root = Resolve-Path (Join-Path $PSScriptRoot "..")
$feed = Join-Path $root "packages"
$project = Join-Path $SynthRepo "src\AquaSynth.Dsl\AquaSynth.Dsl.csproj"
$coreProject = Join-Path $SynthRepo "src\AquaSynth.Core\AquaSynth.Core.csproj"
$faustProject = Join-Path $SynthRepo "src\AquaSynth.Faust\AquaSynth.Faust.csproj"
if (-not (Test-Path $project)) {
throw "AquaSynth.Dsl project not found at $project"
if (-not (Test-Path $coreProject)) {
throw "AquaSynth.Core project not found at $coreProject"
}
if (-not (Test-Path $faustProject)) {
throw "AquaSynth.Faust project not found at $faustProject"
}
New-Item -ItemType Directory -Force -Path $feed | Out-Null
dotnet pack $project -c $Configuration -o $feed
dotnet pack $coreProject -c $Configuration -o $feed
dotnet pack $faustProject -c $Configuration -o $feed
Write-Host "Packed AquaSynth.Dsl into $feed"
Write-Host "Packed AquaSynth.Core and AquaSynth.Faust into $feed"
Write-Host "If the package version changed, update src\Aquarium.Engine\Aquarium.Engine.csproj to match."