mirror of
https://github.com/Radarr/Radarr.git
synced 2024-09-11 12:02:35 +02:00
cleaned build script.
This commit is contained in:
parent
1373d34013
commit
0a7401c180
@ -1,6 +1,6 @@
|
|||||||
$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\'
|
||||||
|
|
||||||
Function Build()
|
Function Build()
|
||||||
{
|
{
|
||||||
@ -56,10 +56,7 @@ Function PackageTests()
|
|||||||
{
|
{
|
||||||
Write-Host Packaging Tests
|
Write-Host Packaging Tests
|
||||||
|
|
||||||
$testPackageFolder = '.\_tests\'
|
|
||||||
|
|
||||||
.\.nuget\NuGet.exe install NUnit.Runners -Version 2.6.1 -Output $testPackageFolder
|
|
||||||
|
|
||||||
if(Test-Path $testPackageFolder)
|
if(Test-Path $testPackageFolder)
|
||||||
{
|
{
|
||||||
Remove-Item -Recurse -Force $testPackageFolder -ErrorAction Continue
|
Remove-Item -Recurse -Force $testPackageFolder -ErrorAction Continue
|
||||||
@ -70,6 +67,7 @@ Function PackageTests()
|
|||||||
Copy-Item -Recurse ($_.FullName + "\*") $testPackageFolder -ErrorAction Ignore
|
Copy-Item -Recurse ($_.FullName + "\*") $testPackageFolder -ErrorAction Ignore
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.\.nuget\NuGet.exe install NUnit.Runners -Version 2.6.1 -Output $testPackageFolder
|
||||||
|
|
||||||
CleanFolder $testPackageFolder
|
CleanFolder $testPackageFolder
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user