Rakefile in landable-1.13.1 vs Rakefile in landable-1.13.2
- old
+ new
@@ -1,21 +1,24 @@
begin
require 'bundler/setup'
+ require 'rubocop/rake_task'
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
-APP_RAKEFILE = File.expand_path("../spec/dummy/Rakefile", __FILE__)
+APP_RAKEFILE = File.expand_path('../spec/dummy/Rakefile', __FILE__)
load 'rails/tasks/engine.rake'
Bundler::GemHelper.install_tasks
Dir.glob(File.expand_path('../lib/tasks/landable/*.rake', __FILE__)).each { |f| load f }
desc 'Landable test suite'
-task :landable => [
+task landable: [
+ 'rubocop',
'app:db:test:prepare',
'landable:seed',
'landable:spec',
'landable:cucumber',
'landable:pgtap'
-]
\ No newline at end of file
+]
+RuboCop::RakeTask.new