1
0
Fork 0
mirror of https://github.com/ms-ati/docile synced 2023-03-27 23:21:52 -04:00
docile/Rakefile

27 lines
684 B
Text
Raw Normal View History

2013-07-28 15:30:47 -04:00
require "rake/clean"
2011-12-06 13:51:56 -05:00
require "bundler/gem_tasks"
require "rspec/core/rake_task"
2011-12-06 14:31:22 -05:00
2013-07-28 15:30:47 -04:00
# Default task for `rake` is to run rspec
task :default => [:spec]
# Use default rspec rake task
RSpec::Core::RakeTask.new
# Configure `rake clobber` to delete all generated files
CLOBBER.include("pkg", "doc", "coverage")
# Only configure yard doc generation when *not* on Travis
if ENV['CI'] != 'true'
require "github/markup"
require "redcarpet"
require "yard"
require "yard/rake/yardoc_task"
YARD::Rake::YardocTask.new do |t|
OTHER_PATHS = %w()
t.files = ['lib/**/*.rb', OTHER_PATHS]
t.options = %w(--markup-provider=redcarpet --markup=markdown --main=README.md)
end
2011-12-06 14:31:22 -05:00
end