mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 12:02:35 +02:00
re-added missing test dlls to test package
This commit is contained in:
parent
de145015d8
commit
60fdfdcbf2
@ -1,6 +1,7 @@
|
|||||||
$msBuild = 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe'
|
$msBuild = 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe'
|
||||||
$outputFolder = '.\_output'
|
$outputFolder = '.\_output'
|
||||||
$testPackageFolder = '.\_tests\'
|
$testPackageFolder = '.\_tests\'
|
||||||
|
$testSearchPattern = '*.Test\bin\x86\Release'
|
||||||
|
|
||||||
Function Build()
|
Function Build()
|
||||||
{
|
{
|
||||||
@ -55,7 +56,6 @@ Function AddJsonNet()
|
|||||||
Function PackageTests()
|
Function PackageTests()
|
||||||
{
|
{
|
||||||
Write-Host Packaging Tests
|
Write-Host Packaging Tests
|
||||||
|
|
||||||
|
|
||||||
if(Test-Path $testPackageFolder)
|
if(Test-Path $testPackageFolder)
|
||||||
{
|
{
|
||||||
@ -69,7 +69,7 @@ Function PackageTests()
|
|||||||
|
|
||||||
.\.nuget\NuGet.exe install NUnit.Runners -Version 2.6.1 -Output $testPackageFolder
|
.\.nuget\NuGet.exe install NUnit.Runners -Version 2.6.1 -Output $testPackageFolder
|
||||||
|
|
||||||
CleanFolder $testPackageFolder
|
|
||||||
|
|
||||||
Copy-Item $outputFolder\*.dll -Destination $testPackageFolder -Force
|
Copy-Item $outputFolder\*.dll -Destination $testPackageFolder -Force
|
||||||
Copy-Item $outputFolder\*.pdb -Destination $testPackageFolder -Force
|
Copy-Item $outputFolder\*.pdb -Destination $testPackageFolder -Force
|
||||||
@ -77,6 +77,8 @@ Function PackageTests()
|
|||||||
Copy-Item .\*.sh -Destination $testPackageFolder -Force
|
Copy-Item .\*.sh -Destination $testPackageFolder -Force
|
||||||
|
|
||||||
get-childitem $testPackageFolder -File -Filter *log.config | foreach ($_) {remove-item $_.fullname}
|
get-childitem $testPackageFolder -File -Filter *log.config | foreach ($_) {remove-item $_.fullname}
|
||||||
|
|
||||||
|
CleanFolder $testPackageFolder
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user