twitter-status-bot/.gems/gems/naught-1.0.0/Rakefile

16 lines
275 B
Ruby
Raw Normal View History

2014-09-03 08:49:59 +00:00
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
begin
require 'rubocop/rake_task'
Rubocop::RakeTask.new
rescue LoadError
task :rubocop do
$stderr.puts 'Rubocop is disabled'
end
end
task :default => [:spec, :rubocop]