|
|
@ -54,7 +54,7 @@ Function CleanFolder($path)
|
|
|
|
|
|
|
|
|
|
|
|
Function AddJsonNet()
|
|
|
|
Function AddJsonNet()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
Copy-Item .\packages\Newtonsoft.Json.5.*\lib\net35\*.* -Destination $outputFolder -Verbose
|
|
|
|
Copy-Item .\packages\Newtonsoft.Json.5.*\lib\net35\*.* -Destination $outputFolder
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Function PackageTests()
|
|
|
|
Function PackageTests()
|
|
|
@ -71,10 +71,13 @@ Function PackageTests()
|
|
|
|
Copy-Item -Recurse ($_.FullName + "\*") $testPackageFolder -ErrorAction Ignore
|
|
|
|
Copy-Item -Recurse ($_.FullName + "\*") $testPackageFolder -ErrorAction Ignore
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CleanFolder $testPackageFolder
|
|
|
|
CleanFolder $testPackageFolder
|
|
|
|
|
|
|
|
|
|
|
|
get-childitem $testPackageFolder -File -Filter *log.config | foreach ($_) {remove-item $_.fullname}
|
|
|
|
Copy-Item $outputFolder\*.dll -Destination $testPackageFolder -Force
|
|
|
|
|
|
|
|
Copy-Item $outputFolder\*.pdb -Destination $testPackageFolder -Force
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
get-childitem $testPackageFolder -File -Filter *log.config | foreach ($_) {remove-item $_.fullname}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Function Nunit()
|
|
|
|
Function Nunit()
|
|
|
@ -83,7 +86,6 @@ Function Nunit()
|
|
|
|
|
|
|
|
|
|
|
|
get-childitem $testPackageFolder -File -Filter *test.dll | foreach ($_) {
|
|
|
|
get-childitem $testPackageFolder -File -Filter *test.dll | foreach ($_) {
|
|
|
|
$testFiles = $testFiles + $_.FullName + " "
|
|
|
|
$testFiles = $testFiles + $_.FullName + " "
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$nunitExe = '.\Libraries\nunit\nunit-console-x86.exe ' + $testFiles + ' /process:multiple /noxml'
|
|
|
|
$nunitExe = '.\Libraries\nunit\nunit-console-x86.exe ' + $testFiles + ' /process:multiple /noxml'
|
|
|
@ -111,7 +113,7 @@ Function CheckExitCode()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
Build
|
|
|
|
Build
|
|
|
|
RunGrunt
|
|
|
|
#RunGrunt
|
|
|
|
PackageTests
|
|
|
|
PackageTests
|
|
|
|
|
|
|
|
|
|
|
|
if($runTests)
|
|
|
|
if($runTests)
|
|
|
|