Rakefile in prawn-icon-0.5.1 vs Rakefile in prawn-icon-0.6.0
- old
+ new
@@ -7,12 +7,13 @@
require 'bundler'
Bundler.setup
require 'rake'
require 'rspec/core/rake_task'
+require 'rubocop/rake_task'
-task :default => [:spec]
+task :default => [:spec, :rubocop]
desc 'Run all rspec files'
RSpec::Core::RakeTask.new('spec') do |c|
c.rspec_opts = '-t ~unresolved'
end
@@ -26,5 +27,8 @@
puts "Generating from: #{file}"
require file
end
puts 'All Done!'
end
+
+RuboCop::RakeTask.new
+