Sha256: 781da8200786634b96f8ba307a4ba317c33cdff48656427fa0c7be1338b04340
Contents?: true
Size: 1.01 KB
Versions: 3
Compression:
Stored size: 1.01 KB
Contents
#-- # Copyright (c) 2007, 2008 Jeremy Hinegardner # All rights reserved. Licensed under the BSD license. See LICENSE for details #++ 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 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
heel-1.0.3 | tasks/documentation.rake |
heel-1.0.0 | tasks/documentation.rake |
heel-1.0.2 | tasks/documentation.rake |