Permalink
Browse files

Fixed build configuration for 3.5 and 4.0.

  • Loading branch information...
1 parent 15f6ef9 commit 2b574208a4c6e7b25e271df69cb77260445718cf @CoreyKaylor CoreyKaylor committed Jul 28, 2011
Showing with 4 additions and 7 deletions.
  1. +4 −7 default.ps1
View
@@ -51,22 +51,19 @@ task Init -depends Clean {
new-item $build_dir -itemType directory
}
-task Compile40 -depends Init {
- msbuild $sln_file /p:"OutDir=$40_build_dir;Configuration=$config;TargetFrameworkVersion=4.0"
-}
-
-task Compile35 -depends Init {
+task Compile -depends Init {
msbuild $sln_file /p:"OutDir=$35_build_dir;Configuration=$config;TargetFrameworkVersion=V3.5;LibDir=$35_lib_dir"
+ msbuild $sln_file /target:Rebuild /p:"OutDir=$40_build_dir;Configuration=$config;TargetFrameworkVersion=4.0"
}
-task Test -depends Compile35, Compile40 -precondition { return $run_tests }{
+task Test -depends Compile -precondition { return $run_tests }{
$old = pwd
cd $build_dir
& $tools_dir\xUnit\xunit.console.clr4.exe "$build_dir\3.5\Rhino.ServiceBus.Tests.dll" /noshadow
cd $old
}
-task Release -depends Compile35, Compile40, Test {
+task Release -depends Compile, Test {
cd $build_dir
& $tools_dir\7za.exe a $release_dir\Rhino.ServiceBus.zip `

0 comments on commit 2b57420

Please sign in to comment.