main
1require 'albacore'
2
3task :default => :spec
4
5task :xbuild do
6 sh "xbuild src/test/test.csproj '/target:Clean;Rebuild' /verbosity:quiet /tv:4.0 /nologo"
7end
8
9desc 'mspec test runner'
10task :spec => :xbuild do
11 sh "mono --debug packages/Machine.Specifications.0.5.3.0/tools/mspec-clr4.exe src/test/bin/Debug/test.dll"
12end
13
14desc 'rake mono_install[RhinoMocks]'
15task :mono_install, :package do |t, args|
16 sh "mono --runtime=v4.0.30319 tools/NuGet.exe install #{args[:package]} -OutputDirectory packages"
17 #sh "mono --runtime=v4.0.30319 tools/NuGet.exe help install"
18end
19