2011-12-06 13:51:56 -05:00
|
|
|
require "bundler/gem_tasks"
|
2011-12-07 20:58:58 -05:00
|
|
|
require "rspec/core/rake_task"
|
2011-12-06 17:58:09 -05:00
|
|
|
require "github/markup"
|
|
|
|
require "redcarpet"
|
2011-12-06 14:31:22 -05:00
|
|
|
require "yard"
|
|
|
|
require "yard/rake/yardoc_task"
|
|
|
|
|
|
|
|
YARD::Rake::YardocTask.new do |t|
|
2011-12-06 17:58:09 -05:00
|
|
|
OTHER_PATHS = %w()
|
2011-12-06 14:31:22 -05:00
|
|
|
t.files = ['lib/**/*.rb', OTHER_PATHS]
|
2011-12-07 20:58:58 -05:00
|
|
|
t.options = %w(--markup-provider=redcarpet --markup=markdown --main=README.md)
|
2011-12-06 14:31:22 -05:00
|
|
|
end
|
2011-12-07 20:58:58 -05:00
|
|
|
|
|
|
|
RSpec::Core::RakeTask.new
|