summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo k <mo@mokhan.ca>2012-03-27 21:03:54 -0600
committermo k <mo@mokhan.ca>2012-03-27 21:03:54 -0600
commit86f6a2f5567d1b1279ff6d9c8c33e4cf3b4f7f96 (patch)
tree48ec0536eac5afa32bd31defb8c291da29f09a6b
parent7c62edd99aacfa998d3c284ccddcf7ec201ea685 (diff)
change verbosity and tools version when shelling out to xbuild.
-rwxr-xr-xrakefile25
1 files changed, 8 insertions, 17 deletions
diff --git a/rakefile b/rakefile
index fd1c3f3..6fd8691 100755
--- a/rakefile
+++ b/rakefile
@@ -1,26 +1,17 @@
require 'albacore'
-desc 'build'
-msbuild :build do |msb|
- msb.properties :configuration => :Release
- msb.targets :Clean, :Build
- msb.solution = "studio.sln"
-end
-
-#xbuild :xbuild do |xbuild|
- #xbuild.targets :Clean, :Build
- ##xbuild.targets "Release"
- #xbuild.solution = "studio.sln"
+#desc 'build'
+#msbuild :build do |msb|
+ #msb.properties :configuration => :Release
+ #msb.targets :Clean, :Build
+ #msb.solution = "studio.sln"
#end
+
task :xbuild do
- sh "xbuild src/test/test.csproj"
+ sh "xbuild src/test/test.csproj '/target:Clean;Rebuild' /verbosity:quiet /tv:4.0 /nologo"
end
desc 'mspec test runner'
-#mspec :spec => :build do |mspec|
- #mspec.command = 'packages/Machine.Specifications.0.5.3.0/tools/mspec-clr4.exe'
- #mspec.assemblies "src/test/bin/debug/test.dll"
-#end
task :spec => :xbuild do
- sh "mono --debug packages/Machine.Specifications.0.5.3.0/tools/mspec-x86-clr4.exe src/test/bin/Debug/test.dll"
+ sh "mono --debug packages/Machine.Specifications.0.5.3.0/tools/mspec-clr4.exe src/test/bin/Debug/test.dll"
end