diff options
| author | mo k <mo@mokhan.ca> | 2012-03-27 21:03:54 -0600 |
|---|---|---|
| committer | mo k <mo@mokhan.ca> | 2012-03-27 21:03:54 -0600 |
| commit | 86f6a2f5567d1b1279ff6d9c8c33e4cf3b4f7f96 (patch) | |
| tree | 48ec0536eac5afa32bd31defb8c291da29f09a6b | |
| parent | 7c62edd99aacfa998d3c284ccddcf7ec201ea685 (diff) | |
change verbosity and tools version when shelling out to xbuild.
| -rwxr-xr-x | rakefile | 25 |
1 files changed, 8 insertions, 17 deletions
@@ -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 |
