Rakefile in slide_rule-0.0.1 vs Rakefile in slide_rule-0.0.2
- old
+ new
@@ -1,6 +1,8 @@
-require "bundler/gem_tasks"
-require "rspec/core/rake_task"
+require 'bundler/gem_tasks'
+require 'rspec/core/rake_task'
+require 'rubocop/rake_task'
+RuboCop::RakeTask.new
RSpec::Core::RakeTask.new(:spec)
-task :default => :spec
+task default: [:spec, :rubocop]