#!/usr/bin/env rake require "bundler/gem_tasks" require 'yard' YARD::Config.load_plugin('yard-tomdoc') YARD::Rake::YardocTask.new do |t| t.files = ['lib/**/*.rb'] t.options = %w(-r README.md) end require 'rake/testtask' Rake::TestTask.new do |t| t.libs << "test" t.test_files = FileList['./test/**/*_test.rb'] end require 'reek/rake/task' Reek::Rake::Task.new do |t| t.fail_on_error = true t.verbose = false t.source_files = 'lib/**/*.rb' end task :doc => :yard task :default => :test