Sha256: ab2ff9b46da7011e4a4c324cd6b89569dcacae15a74d50b2de305de757d41de3

Contents?: true

Size: 766 Bytes

Versions: 3

Compression:

Stored size: 766 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.add_checker(RakeCheck::Checker::BundlerAudit.new)
  executor.execute
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rake_check-0.4.2 lib/rake_check/tasks/check.rake
rake_check-0.4.1 lib/rake_check/tasks/check.rake
rake_check-0.4.0 lib/rake_check/tasks/check.rake