require 'albacore' task :default => :spec task :xbuild do sh "xbuild src/test/test.csproj '/target:Clean;Rebuild' /verbosity:quiet /tv:4.0 /nologo" end desc 'mspec test runner' task :spec => :xbuild do sh "mono --debug packages/Machine.Specifications.0.5.3.0/tools/mspec-clr4.exe src/test/bin/Debug/test.dll" end desc 'rake mono_install[RhinoMocks]' task :mono_install, :package do |t, args| sh "mono --runtime=v4.0.30319 tools/NuGet.exe install #{args[:package]} -OutputDirectory packages" #sh "mono --runtime=v4.0.30319 tools/NuGet.exe help install" end