Sha256: 7852ed0a4347942a8e41fcdddbc40d008ab81367eb136d74ad6b33decc5bac2d
Contents?: true
Size: 794 Bytes
Versions: 1
Compression:
Stored size: 794 Bytes
Contents
Dir.chdir('test') load 'Rakefile' require File.dirname(__FILE__)+'/lib/resource_controller/version' Dir['tasks/**.rake'].each { |tasks| load tasks } 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
korin-resource_controller-0.5.3 | Rakefile |