Rakefile in ridgepole-0.7.3.beta vs Rakefile in ridgepole-0.7.3.beta2
- old
+ new
@@ -1,5 +1,11 @@
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
+require 'rubocop/rake_task'
RSpec::Core::RakeTask.new('spec')
-task :default => :spec
+
+RuboCop::RakeTask.new do |task|
+ task.options = %w[-c .rubocop.yml]
+end
+
+task default: %i[rubocop spec]