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