Sha256: 5e84cad7907dfd2607b5ee813dc15a8cdaf2b54d1762dae2b9b0d2320481d767

Contents?: true

Size: 310 Bytes

Versions: 3

Compression:

Stored size: 310 Bytes

Contents

<%- if bundler? -%>
require 'yard'
YARD::Rake::YardocTask.new  
<%- else -%>
begin
  gem 'yard', '<%= @yard_dependency %>'
  require 'yard'

  YARD::Rake::YardocTask.new  
rescue LoadError => e
  task :yard do
    abort "Please run `gem install yard` to install YARD."
  end
end
<%- end -%>
task :doc => :yard

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ore-0.8.1 data/ore/templates/yard/_tasks.erb
ore-0.8.0 data/ore/templates/yard/_tasks.erb
ore-0.7.2 data/ore/templates/yard/_tasks.erb