Enable warnings by default

This commit is contained in:
Vipul A M 2013-07-01 10:51:35 +05:30
parent 2c565930c3
commit 99a9b9a8fc
1 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,7 @@ Rake::TestTask.new(:test) do |t|
t.test_files = FileList['test/*_test.rb']
t.ruby_opts = ['-rubygems'] if defined? Gem
t.ruby_opts << '-I.'
t.warning = true
end
Rake::TestTask.new(:"test:core") do |t|
@ -51,6 +52,7 @@ Rake::TestTask.new(:"test:core") do |t|
t.test_files = core_tests.map {|n| "test/#{n}_test.rb"}
t.ruby_opts = ["-rubygems"] if defined? Gem
t.ruby_opts << "-I."
t.warning = true
end
# Rcov ================================================================