Sha256: 73e97d6d3590d92622d15fac935bd5b4932e63fe36b49ef144c0a7ca0a128e53

Contents?: true

Size: 831 Bytes

Versions: 22

Compression:

Stored size: 831 Bytes

Contents

require 'yard'
require 'yard/rake/yardoc_task'
require 'cucumber/platform'

YARD::Templates::Engine.register_template_path(File.expand_path(File.join(File.dirname(__FILE__), 'yard')))
YARD::Rake::YardocTask.new(:yard) do |t|
  t.options = %w{--no-private --title Cucumber}
  t.files = %w{lib - README.md History.md LICENSE}
end

desc "Push yardoc to http://cukes.info/cucumber/api/#{Cucumber::VERSION}"
task :push_yard => :yard do
  sh("tar czf api-#{Cucumber::VERSION}.tgz -C doc .")
  sh("scp api-#{Cucumber::VERSION}.tgz cukes.info:/var/www/cucumber/api/ruby")
  sh("ssh cukes.info 'cd /var/www/cucumber/api/ruby && rm -rf #{Cucumber::VERSION} && mkdir #{Cucumber::VERSION} && tar xzf api-#{Cucumber::VERSION}.tgz -C #{Cucumber::VERSION} && rm -f latest && ln -s #{Cucumber::VERSION} latest'")
end

#task :release => :push_yard

Version data entries

22 entries across 20 versions & 8 rubygems

Version Path
candlepin-api-0.4.0 bundle/ruby/1.8/gems/cucumber-1.2.1/gem_tasks/yard.rake
candlepin-api-0.4.0 bundle/ruby/gems/cucumber-1.2.1/gem_tasks/yard.rake
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/cucumber-1.2.1/gem_tasks/yard.rake
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/cucumber-1.2.1/gem_tasks/yard.rake
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/cucumber-1.2.1/gem_tasks/yard.rake
librarian-puppet-0.9.4 vendor/gems/ruby/1.8/gems/cucumber-1.2.1/gem_tasks/yard.rake
casecumber-1.2.1.cb2 gem_tasks/yard.rake
librarian-puppet-0.9.3 vendor/gems/ruby/1.8/gems/cucumber-1.2.1/gem_tasks/yard.rake
cucumber-1.2.1 gem_tasks/yard.rake
resque-pool-0.3.0 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/gem_tasks/yard.rake
ftl-0.2.0 vendor/bundle/gems/cucumber-1.2.0/gem_tasks/yard.rake
cucumber-1.2.0 gem_tasks/yard.rake
frameworks-capybara-0.2.0.rc6 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/gem_tasks/yard.rake
frameworks-capybara-0.2.0.rc5 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/gem_tasks/yard.rake
frameworks-capybara-0.2.0.rc4 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/gem_tasks/yard.rake
frameworks-capybara-0.2.0.rc3 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/gem_tasks/yard.rake
frameworks-capybara-0.2.0.rc2 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/gem_tasks/yard.rake
resque-pool-0.3.0.beta.2 vendor/bundle/ruby/1.8/gems/cucumber-1.1.9/gem_tasks/yard.rake
radiant-1.0.0 ruby-debug/ruby/1.8/gems/cucumber-1.1.9/gem_tasks/yard.rake
cucumber-1.1.9 gem_tasks/yard.rake