Rakefile in sql_migrations-2.1.0.pre2 vs Rakefile in sql_migrations-2.1.0.pre3
- old
+ new
@@ -1,6 +1,13 @@
-require "bundler/gem_tasks"
+require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
+require 'rubocop/rake_task'
RSpec::Core::RakeTask.new('spec')
-task :default => :spec
+RuboCop::RakeTask.new
+task :test do
+ Rake::Task['spec'].invoke
+ Rake::Task['rubocop'].invoke
+end
+
+task default: :test