Sha256: bd17ad481ded9e37c108891f871100a917f02bf700dbdb11adedc13ddc780d8b
Contents?: true
Size: 679 Bytes
Versions: 30
Compression:
Stored size: 679 Bytes
Contents
Dir.chdir('test') load 'Rakefile' desc 'Generate documentation for the ResourceController plugin.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = '../rdoc' rdoc.title = 'ResourceController' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('../README.rdoc') 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/resource_controller/rdoc'` puts "Uploading current rdoc" `scp -r ../rdoc jamesgolick.com:/home/apps/jamesgolick.com/public/resource_controller` puts "Deleting rdoc" `rm -Rf ../rdoc` end
Version data entries
30 entries across 30 versions & 6 rubygems