-Enabled code analysis on all projects

-Fixed build including code analysis files in release packages
This commit is contained in:
James Newton-King
2013-04-07 16:54:04 +12:00
parent 3baaab1ef6
commit 14fa6c021b
3 changed files with 10 additions and 2 deletions
+2 -2
View File
@@ -73,7 +73,7 @@ task Package -depends Build {
$name = $build.TestsName
$finalDir = $build.FinalDir
robocopy "$sourceDir\Newtonsoft.Json\bin\Release\$finalDir" $workingDir\Package\Bin\$finalDir /NP /XO /XF *.pri | Out-Default
robocopy "$sourceDir\Newtonsoft.Json\bin\Release\$finalDir" $workingDir\Package\Bin\$finalDir *.dll *.pdb *.xml /NP /XO /XF *.CodeAnalysisLog.xml | Out-Default
}
if ($buildNuGet)
@@ -91,7 +91,7 @@ task Package -depends Build {
foreach ($frameworkDir in $frameworkDirs)
{
robocopy "$sourceDir\Newtonsoft.Json\bin\Release\$finalDir" $workingDir\NuGet\lib\$frameworkDir /NP /XO /XF *.pri | Out-Default
robocopy "$sourceDir\Newtonsoft.Json\bin\Release\$finalDir" $workingDir\NuGet\lib\$frameworkDir *.dll *.pdb *.xml /NP /XO /XF *.CodeAnalysisLog.xml | Out-Default
}
}
}