Sha256: d308faa0a9787d47753e82a58584b27e30a050ce85635bbaddeb1b916a25258f

Contents?: true

Size: 705 Bytes

Versions: 1

Compression:

Stored size: 705 Bytes

Contents

# encoding: UTF-8
require 'rake_check'

desc "Check all Metric tools"
task :check do
  executor = RakeCheck::Executor.new
  executor.add_checker(RakeCheck::Checker::Cucumber.new)
  Dir['spec*'].each do |directory|
    executor.add_checker(RakeCheck::Checker::Rspec.new(directory: directory))
  end
  executor.add_checker(RakeCheck::Checker::Rbp.new)
  executor.add_checker(RakeCheck::Checker::Yard.new)
  # executor.add_checker(RakeCheck::Checker::Reek.new)
  executor.add_checker(RakeCheck::Checker::Cane.new)
  executor.add_checker(RakeCheck::Checker::Brakeman.new)
  executor.add_checker(RakeCheck::Checker::CoffeeLint.new)
  executor.add_checker(RakeCheck::Checker::Konacha.new)
  executor.execute
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rake_check-0.3.6 lib/rake_check/tasks/check.rake