mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-05 12:36:50 -07:00
Combine solutions back to one file
This commit is contained in:
parent
ef30db58ee
commit
024c88c19d
4 changed files with 336 additions and 433 deletions
10
build.sh
10
build.sh
|
@ -66,10 +66,12 @@ Build()
|
|||
rm -rf $outputFolder
|
||||
rm -rf $testPackageFolder
|
||||
|
||||
slnFile=src/Lidarr.sln
|
||||
|
||||
if [ $os = "windows" ]; then
|
||||
slnFile=src/Lidarr.Windows.sln
|
||||
platform=Windows
|
||||
else
|
||||
slnFile=src/Lidarr.Posix.sln
|
||||
platform=Posix
|
||||
fi
|
||||
|
||||
dotnet clean $slnFile -c Debug
|
||||
|
@ -77,9 +79,9 @@ Build()
|
|||
|
||||
if [[ -z "$RID" || -z "$FRAMEWORK" ]];
|
||||
then
|
||||
dotnet msbuild -restore $slnFile -p:Configuration=Release -t:PublishAllRids
|
||||
dotnet msbuild -restore $slnFile -p:Configuration=Release -p:Platform=$platform -t:PublishAllRids
|
||||
else
|
||||
dotnet msbuild -restore $slnFile -p:Configuration=Release -p:RuntimeIdentifiers=$RID -t:PublishAllRids
|
||||
dotnet msbuild -restore $slnFile -p:Configuration=Release -p:Platform=$platform -p:RuntimeIdentifiers=$RID -t:PublishAllRids
|
||||
fi
|
||||
|
||||
ProgressEnd 'Build'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue