Rakefile in percheron-0.7.0 vs Rakefile in percheron-0.7.1
- old
+ new
@@ -1,18 +1,21 @@
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'cane/rake_task'
require 'rubocop/rake_task'
-desc 'Run cane, rubocop, unit and integration tests'
-task test: %w(test:cane test:rubocop spec:unit spec:integration)
+desc 'Run cane, RuboCop, unit and integration tests'
+task test: %w(test:style spec:unit spec:integration)
namespace :test do
desc 'Run cane'
Cane::RakeTask.new(:cane)
desc 'Run RuboCop'
RuboCop::RakeTask.new
+
+ desc 'Run cane and RuboCop'
+ task style: %w(test:cane test:rubocop)
end
RSpec::Core::RakeTask.new('spec') do |config|
config.pattern = './spec/**{,/*/**}/*_spec.rb'
end