Permalink
Browse files

Remove compiler warnings on CI box

  • Loading branch information...
1 parent 1118239 commit f1f0a2eb3912725f2a7f7ad6fa0777b99ba707eb @jagregory committed Aug 14, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 RakeFile
View
@@ -46,7 +46,7 @@ namespace :source do
files_to_copy = Dir["tools/NHibernate/#{args.nhibernate_version}/*.*"]
files_to_copy.each {|f| FileUtils.copy f, "tools/NHibernate/" }
end
-
+
desc 'Compile the source'
msbuild :compile, [:nhibernate_version] => :nhibernate_version do |msb,args|
args.with_defaults :nhibernate_version => ENV['nhibernate_version'] || NH_VERSION
@@ -55,7 +55,11 @@ namespace :source do
puts nh_version_precompiler_switch
- msb.properties = { :configuration => :Release, :DefineConstants => nh_version_precompiler_switch }
+ msb.properties = {
+ configuration: :Release,
+ DefineConstants: nh_version_precompiler_switch,
+ WarningLevel: 0,
+ }
msb.targets [:Clean, :Build]
msb.solution = 'src/FluentNHibernate.sln'
end

0 comments on commit f1f0a2e

Please sign in to comment.