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

Version Path
akitaonrails-resource_controller-0.5.3 Rakefile
kdmny-spree-0.0.1 vendor/plugins/resource_controller/Rakefile
nileshtrivedi-lp_resource_builder-0.5.3 Rakefile
nileshtrivedi-safe_resource-0.5.3 Rakefile
spree-0.11.4 vendor/plugins/resource_controller/Rakefile
spree-0.11.3 vendor/plugins/resource_controller/Rakefile
spree-0.11.2 vendor/plugins/resource_controller/Rakefile
spree-0.11.1 vendor/plugins/resource_controller/Rakefile
spree-0.11.0 vendor/plugins/resource_controller/Rakefile
spree-0.10.2 vendor/plugins/resource_controller/Rakefile
spree-0.10.1 vendor/plugins/resource_controller/Rakefile
spree-0.10.0 vendor/plugins/resource_controller/Rakefile
spree-0.10.0.beta vendor/plugins/resource_controller/Rakefile
spree-enriquez-0.9.4 vendor/plugins/resource_controller/Rakefile
spree-0.9.4 vendor/plugins/resource_controller/Rakefile
spree-0.9.3 vendor/plugins/resource_controller/Rakefile
spree-0.9.2 vendor/plugins/resource_controller/Rakefile
spree-0.9.1 vendor/plugins/resource_controller/Rakefile
spree-0.9.0 vendor/plugins/resource_controller/Rakefile
spree-0.8.4 vendor/plugins/resource_controller/Rakefile