Rakefile in csv_piper-0.1.7 vs Rakefile in csv_piper-0.1.8
- old
+ new
@@ -1,6 +1,14 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"
+require 'rubocop/rake_task'
RSpec::Core::RakeTask.new(:spec)
+RuboCop::RakeTask.new
-task :default => :spec
+task :default => [:spec, :quality]
+
+task :quality => :rubocop
+
+task :codeclimate do
+ exec('codeclimate analyze')
+end