1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-23 16:26:02 +00:00

cleaned build script.

This commit is contained in:
kay.one 2013-08-18 16:31:13 -07:00
parent 1373d34013
commit 0a7401c180

View file

@ -1,6 +1,6 @@
$msBuild = 'C:\Windows\Microsoft.NET\Framework64\v4.0.30319\msbuild.exe'
$outputFolder = '.\_output'
$testPackageFolder = '.\_tests\'
Function Build()
{
@ -56,9 +56,6 @@ Function PackageTests()
{
Write-Host Packaging Tests
$testPackageFolder = '.\_tests\'
.\.nuget\NuGet.exe install NUnit.Runners -Version 2.6.1 -Output $testPackageFolder
if(Test-Path $testPackageFolder)
{
@ -70,6 +67,7 @@ Function PackageTests()
Copy-Item -Recurse ($_.FullName + "\*") $testPackageFolder -ErrorAction Ignore
}
.\.nuget\NuGet.exe install NUnit.Runners -Version 2.6.1 -Output $testPackageFolder
CleanFolder $testPackageFolder