Sha256: 69ad035d3933fc436b71457d73dbd7c3fc1a69bc80aeba4b9108f0b8fbbe3696
Contents?: true
Size: 911 Bytes
Versions: 15
Compression:
Stored size: 911 Bytes
Contents
require 'tasks/config' #----------------------------------------------------------------------- # Documentation #----------------------------------------------------------------------- if rdoc_config = Configuration.for_if_exist?('rdoc') then namespace :doc do require 'rake/rdoctask' # generating documentation locally Rake::RDocTask.new do |rdoc| rdoc.rdoc_dir = rdoc_config.output_dir rdoc.options = rdoc_config.options rdoc.rdoc_files = rdoc_config.files rdoc.title = rdoc_config.title rdoc.main = rdoc_config.main_page end if rubyforge_config = Configuration.for_if_exist?('rubyforge') then desc "Deploy the RDoc documentation to #{rubyforge_config.rdoc_location}" task :deploy => :rerdoc do sh "rsync -zav --delete #{rdoc_config.output_dir}/ #{rubyforge_config.rdoc_location}" end end end end
Version data entries
15 entries across 14 versions & 5 rubygems