mirror of
https://github.com/Radarr/Radarr.git
synced 2026-04-18 21:35:51 -04:00
New: Combine Solutions via Configurations
This commit is contained in:
@@ -64,15 +64,17 @@ Build()
|
||||
rm -rf $outputFolder
|
||||
rm -rf $testPackageFolder
|
||||
|
||||
slnFile=src/Radarr.sln
|
||||
|
||||
if [ $os = "windows" ]; then
|
||||
slnFile=src/Radarr.Windows.sln
|
||||
platform=Windows
|
||||
else
|
||||
slnFile=src/Radarr.Posix.sln
|
||||
platform=Posix
|
||||
fi
|
||||
|
||||
dotnet clean $slnFile -c Debug
|
||||
dotnet clean $slnFile -c Release
|
||||
dotnet msbuild -restore $slnFile -p:Configuration=Release -t:PublishAllRids
|
||||
dotnet msbuild -restore $slnFile -p:Configuration=Release -p:Platform=$platform -t:PublishAllRids
|
||||
|
||||
ProgressEnd 'Build'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user