victormartins/xml_errors_parser

View on GitHub
Fudgefile

Summary

Maintainability
Test Coverage
exclude = '^\.\/(spec)\/'

task_group :quality_assurance do
  yard 'stats --list-undoc', :coverage => 100
  cane :max_width => 140
  task :flay, :exclude => exclude
  task :flog, :exclude => exclude, :methods => true
end

task_group :setup_env do
  clean_bundler_env do
    shell 'bundle install'
  end
end

task_group :rspec do
  clean_bundler_env do
    rspec :coverage => 100
  end
end

build :default do
  task_group :quality_assurance
  task_group :setup_env
  task_group :rspec
end

build :specs do
  task_group :setup_env
  task_group :rspec
end