1
0
Fork 0
mirror of https://github.com/omniauth/omniauth.git synced 2022-11-09 12:31:49 -05:00
omniauth--omniauth/Rakefile

18 lines
318 B
Text
Raw Normal View History

require 'bundler'
Bundler::GemHelper.install_tasks
2014-01-15 23:00:40 -05:00
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
2011-04-28 20:55:10 -04:00
task :test => :spec
2014-01-15 23:00:40 -05:00
begin
require 'rubocop/rake_task'
2014-06-03 13:52:08 -04:00
RuboCop::RakeTask.new
2014-01-15 23:00:40 -05:00
rescue LoadError
task :rubocop do
2014-06-03 13:52:08 -04:00
$stderr.puts 'RuboCop is disabled'
2014-01-15 23:00:40 -05:00
end
end
task :default => [:spec, :rubocop]