Sha256: 70663dfb893f2fe8031d3b759aa6013efdf215a40b765342118965fdc6388af1

Contents?: true

Size: 620 Bytes

Versions: 19

Compression:

Stored size: 620 Bytes

Contents

desc 'Generate documentation for the ResourceController plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'ActivePresenter'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

task :upload_docs => :rdoc do
  puts 'Deleting previous rdoc'
  `ssh jamesgolick.com 'rm -Rf /home/apps/jamesgolick.com/public/active_presenter/rdoc'`
  
  puts "Uploading current rdoc"
  `scp -r rdoc jamesgolick.com:/home/apps/jamesgolick.com/public/active_presenter/rdoc`
  
  puts "Deleting rdoc"
  `rm -Rf rdoc`
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
active_presenter-3.2.2 lib/tasks/doc.rake
active_presenter-2.0.0a lib/tasks/doc.rake
active_presenter-1.4.0 lib/tasks/doc.rake
active_presenter-1.3.1 lib/tasks/doc.rake
active_presenter-1.3.0 lib/tasks/doc.rake
active_presenter-1.2.1 lib/tasks/doc.rake
active_presenter-0.0.3 lib/tasks/doc.rake
active_presenter-1.2.0 lib/tasks/doc.rake
active_presenter-0.0.6 lib/tasks/doc.rake
active_presenter-1.1.2 lib/tasks/doc.rake
active_presenter-0.0.2 lib/tasks/doc.rake
active_presenter-0.0.5 lib/tasks/doc.rake
spree-0.4.1 vendor/gems/active_presenter-0.0.4/lib/tasks/doc.rake
spree-0.4.0 vendor/gems/active_presenter-0.0.4/lib/tasks/doc.rake
spree-0.5.0 vendor/gems/active_presenter-0.0.4/lib/tasks/doc.rake
spree-0.6.0 vendor/gems/active_presenter-0.0.4/lib/tasks/doc.rake
spree-0.5.1 vendor/gems/active_presenter-0.0.4/lib/tasks/doc.rake
spree-0.7.1 vendor/gems/active_presenter-0.0.6/lib/tasks/doc.rake
spree-0.7.0 vendor/gems/active_presenter-0.0.6/lib/tasks/doc.rake