jfinkhaeuser/collapsium

View on GitHub
Rakefile

Summary

Maintainability
Test Coverage
# Rspec
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:rspec)

# Documentation
require 'yard'
YARD::Rake::YardocTask.new do |t|
  t.files = ['lib/**/*.rb']
  t.options = ['-m', 'markdown']
  t.stats_options = ['--list-undoc']
end

# Combined test task
desc "Test all the things!"
task :test do
  Rake::Task[:rspec].invoke
end

# Default is the test task
task default: :test