forked from fluentmigrator/fluentmigrator
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrakefile.rb
23 lines (19 loc) · 772 Bytes
/
rakefile.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'albacore'
require './packages/packaging'
task :default => [:build]
msbuild :build do |msb|
msb.path_to_command = File.join(ENV['windir'], 'Microsoft.NET', 'Framework', 'v4.0.30319', 'MSBuild.exe')
msb.properties :configuration => :Debug
msb.targets :Clean, :Rebuild
msb.solution = "FluentMigrator (2010).sln"
end
nunit :test => :build do |nunit|
nunit.path_to_command = "tools/NUnit/nunit-console.exe"
nunit.assemblies "src/FluentMigrator.Tests/bin/Debug/FluentMigrator.Tests.dll"
end
msbuild :release do |msb|
msb.path_to_command = File.join(ENV['windir'], 'Microsoft.NET', 'Framework', 'v4.0.30319', 'MSBuild.exe')
msb.properties :configuration => :Release
msb.targets :Clean, :Rebuild
msb.solution = "FluentMigrator (2010).sln"
end