Skip to content

Commit d30f3d4

Browse files
committed
Fixes for broken build
1 parent 239cc58 commit d30f3d4

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

RakeFile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
require 'fileutils'
2-
gem 'albacore', '=0.1.5'
2+
gem 'albacore', '=0.2.4'
33
require 'albacore'
4-
require 'tools/albacore/zipdirectory_patch.rb'
54

65
def get_version
76
ENV['BUILD_NUMBER'] || '1.2.0.0'
@@ -90,14 +89,14 @@ namespace :specs do
9089

9190
desc 'Run MSpec specs'
9291
mspec :mspec do |mspec|
93-
mspec.path_to_command = 'tools/mspec/mspec.exe'
94-
mspec.assemblies << 'src/FluentNHibernate.Specs/bin/Release/FluentNHibernate.Specs.dll'
92+
mspec.command = 'tools/mspec/mspec.exe'
93+
mspec.assemblies 'src/FluentNHibernate.Specs/bin/Release/FluentNHibernate.Specs.dll'
9594
end
9695

9796
desc 'Run NUnit tests'
9897
nunit :nunit do |nunit|
99-
nunit.path_to_command = 'tools/nunit/nunit-console-x86.exe'
100-
nunit.assemblies << 'src/FluentNHibernate.Testing/bin/Release/FluentNHibernate.Testing.dll'
98+
nunit.command = 'tools/nunit/nunit-console-x86.exe'
99+
nunit.assemblies 'src/FluentNHibernate.Testing/bin/Release/FluentNHibernate.Testing.dll'
101100
end
102101
end
103102

src/FluentNHibernate.Testing/AutoMapping/TestFixtures.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ public Object NullSafeGet(IDataReader rs, string[] names, ISessionImplementor se
359359
return (first == null && second == null) ? null : new string[] { first, second };
360360
}
361361

362-
#if NH30
362+
#if NH3x
363363
public void NullSafeSet(IDbCommand st, Object value, int index, bool[] unknown, ISessionImplementor session)
364364
{
365365
DoubleString ds = value as DoubleString ?? new DoubleString();

0 commit comments

Comments
 (0)