Rakefile in graphql-batch-0.4.2 vs Rakefile in graphql-batch-0.4.3
- old
+ new
@@ -5,6 +5,11 @@
t.libs << "test"
t.libs << "lib"
t.test_files = FileList['test/**/*_test.rb']
end
-task :default => :test
+task :rubocop do
+ require 'rubocop/rake_task'
+ RuboCop::RakeTask.new
+end
+
+task(default: [:test, :rubocop])