blob: b71ff9d52b0556188f1d33cb447a70498d88ef76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
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
|