tasks/rubocop.rake in rake-n-bake-1.4.3 vs tasks/rubocop.rake in rake-n-bake-2.0.0
- old
+ new
@@ -2,9 +2,15 @@
require 'rubocop'
namespace :bake do
require 'rubocop/rake_task'
RuboCop::RakeTask.new
+
+ task :rubocop_announce do
+ RakeNBake::Baker.log_step "Running Rubocop"
+ end
+
+ task :rubocop => :rubocop_announce
end
rescue LoadError
tasks = %w[ rubocop ]