mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-22 22:43:31 -07:00
revert build.sh changes
This commit is contained in:
parent
12522b2abf
commit
a07b641982
1 changed files with 5 additions and 5 deletions
10
build.sh
10
build.sh
|
@ -5,7 +5,7 @@ outputFolderLinux='./_output_linux'
|
|||
outputFolderMacOS='./_output_macos'
|
||||
outputFolderMacOSApp='./_output_macos_app'
|
||||
testPackageFolder='./_tests/'
|
||||
testSearchPattern='*.Test/bin/x86/Release'
|
||||
testSearchPattern='*.Test/bin/x86/Release/*'
|
||||
sourceFolder='./src'
|
||||
slnFile=$sourceFolder/Lidarr.sln
|
||||
updateFolder=$outputFolder/Lidarr.Update
|
||||
|
@ -159,6 +159,9 @@ CreateMdbs()
|
|||
tools/pdb2mdb/pdb2mdb.exe ${filename%.pdb}.exe
|
||||
fi
|
||||
done
|
||||
|
||||
echo "Removing PDBs"
|
||||
find $path -name "*.pdb" -exec rm "{}" \;
|
||||
fi
|
||||
}
|
||||
|
||||
|
@ -174,9 +177,6 @@ PackageMono()
|
|||
echo "Creating MDBs"
|
||||
CreateMdbs $outputFolderLinux
|
||||
|
||||
echo "Removing PDBs"
|
||||
find $outputFolderLinux -name "*.pdb" -exec rm "{}" \;
|
||||
|
||||
echo "Removing Service helpers"
|
||||
rm -f $outputFolderLinux/ServiceUninstall.*
|
||||
rm -f $outputFolderLinux/ServiceInstall.*
|
||||
|
@ -257,7 +257,7 @@ PackageTests()
|
|||
rm -rf $testPackageFolder
|
||||
mkdir $testPackageFolder
|
||||
|
||||
find $sourceFolder -path $testSearchPattern -exec cp -r -u -T "{}" $testPackageFolder \;
|
||||
find . -maxdepth 6 -path $testSearchPattern -exec cp -r "{}" $testPackageFolder \;
|
||||
|
||||
if [ $runtime = "dotnet" ] ; then
|
||||
$nuget install NUnit.ConsoleRunner -Version 3.7.0 -Output $testPackageFolder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue