This commit is contained in:
James Newton-King
2014-12-02 12:43:21 +13:00
parent 7399216c6f
commit 0dfe5024f0
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[Bb]in/ [Bb]in/
[Oo]bj/ [Oo]bj/
[Ww]orking/ [Ww]orking*/
Build/runbuild.txt Build/runbuild.txt
Doc/doc.shfbproj_* Doc/doc.shfbproj_*
TestResults/ TestResults/
+3 -2
View File
@@ -8,6 +8,7 @@
$buildDocumentation = $false $buildDocumentation = $false
$buildNuGet = $true $buildNuGet = $true
$treatWarningsAsErrors = $false $treatWarningsAsErrors = $false
$workingName = "Working"
$baseDir = resolve-path .. $baseDir = resolve-path ..
$buildDir = "$baseDir\Build" $buildDir = "$baseDir\Build"
@@ -15,7 +16,7 @@
$toolsDir = "$baseDir\Tools" $toolsDir = "$baseDir\Tools"
$docDir = "$baseDir\Doc" $docDir = "$baseDir\Doc"
$releaseDir = "$baseDir\Release" $releaseDir = "$baseDir\Release"
$workingDir = "$baseDir\Working" $workingDir = "$baseDir\$workingName"
$builds = @( $builds = @(
@{Name = "Newtonsoft.Json"; TestsName = "Newtonsoft.Json.Tests"; TestsFunction = "NUnitTests"; Constants=""; FinalDir="Net45"; NuGetDir = "net45"; Framework="net-4.0"; Sign=$true}, @{Name = "Newtonsoft.Json"; TestsName = "Newtonsoft.Json.Tests"; TestsFunction = "NUnitTests"; Constants=""; FinalDir="Net45"; NuGetDir = "net45"; Framework="net-4.0"; Sign=$true},
@{Name = "Newtonsoft.Json.Portable"; TestsName = "Newtonsoft.Json.Tests.Portable"; TestsFunction = "NUnitTests"; Constants="PORTABLE"; FinalDir="Portable"; NuGetDir = "portable-net45+wp80+win8+wpa81+aspnetcore50"; Framework="net-4.0"; Sign=$true}, @{Name = "Newtonsoft.Json.Portable"; TestsName = "Newtonsoft.Json.Tests.Portable"; TestsFunction = "NUnitTests"; Constants="PORTABLE"; FinalDir="Portable"; NuGetDir = "portable-net45+wp80+win8+wpa81+aspnetcore50"; Framework="net-4.0"; Sign=$true},
@@ -38,7 +39,7 @@ task Clean {
if (Test-Path -path $workingDir) if (Test-Path -path $workingDir)
{ {
Write-Output "Deleting Working Directory" Write-Output "Deleting Working Directory $workingDir"
del $workingDir -Recurse -Force del $workingDir -Recurse -Force
} }