mirror of
https://github.com/ms-ati/docile
synced 2023-03-27 23:21:52 -04:00
disable doc generation gems on travis
Signed-off-by: Marc Siegel <marc@usainnov.com>
This commit is contained in:
parent
10cf6ed254
commit
7a458d9350
1 changed files with 12 additions and 8 deletions
20
Rakefile
20
Rakefile
|
@ -1,14 +1,18 @@
|
|||
require "bundler/gem_tasks"
|
||||
require "rspec/core/rake_task"
|
||||
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)
|
||||
# Don't require doc generation gems 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
|
||||
end
|
||||
|
||||
RSpec::Core::RakeTask.new
|
||||
|
|
Loading…
Add table
Reference in a new issue