Skip to content

Commit f1f0a2e

Browse files
committed
Remove compiler warnings on CI box
1 parent 1118239 commit f1f0a2e

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

RakeFile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ namespace :source do
4646
files_to_copy = Dir["tools/NHibernate/#{args.nhibernate_version}/*.*"]
4747
files_to_copy.each {|f| FileUtils.copy f, "tools/NHibernate/" }
4848
end
49-
49+
5050
desc 'Compile the source'
5151
msbuild :compile, [:nhibernate_version] => :nhibernate_version do |msb,args|
5252
args.with_defaults :nhibernate_version => ENV['nhibernate_version'] || NH_VERSION
@@ -55,7 +55,11 @@ namespace :source do
5555

5656
puts nh_version_precompiler_switch
5757

58-
msb.properties = { :configuration => :Release, :DefineConstants => nh_version_precompiler_switch }
58+
msb.properties = {
59+
configuration: :Release,
60+
DefineConstants: nh_version_precompiler_switch,
61+
WarningLevel: 0,
62+
}
5963
msb.targets [:Clean, :Build]
6064
msb.solution = 'src/FluentNHibernate.sln'
6165
end

0 commit comments

Comments
 (0)