Sha256: 9c0b47284ebd27e2cf86521898ae2f75f6a7611babf3fb1196b3d9f303ea3afd

Contents?: true

Size: 585 Bytes

Versions: 1326

Compression:

Stored size: 585 Bytes

Contents

desc 'Generate website files'
task :website_generate => :ruby_env do
  (Dir['website/**/*.txt'] - Dir['website/version*.txt']).each do |txt|
    sh %{ #{RUBY_APP} script/txt2html #{txt} > #{txt.gsub(/txt$/,'html')} }
  end
end

desc 'Upload website files to rubyforge'
task :website_upload do
  host = "#{rubyforge_username}@rubyforge.org"
  remote_dir = "/var/www/gforge-projects/#{PATH}/"
  local_dir = 'website'
  sh %{rsync -aCv #{local_dir}/ #{host}:#{remote_dir}}
end

desc 'Generate and upload website files'
task :website => [:website_generate, :website_upload, :publish_docs]

Version data entries

1,326 entries across 1,325 versions & 353 rubygems

Version Path
qtext-0.6.9 tasks/website.rake
tdiary-4.2.1 vendor/bundle/ruby/2.3.0/gems/oauth-0.4.7/tasks/website.rake
tdiary-4.2.1 vendor/bundle/ruby/2.2.0/gems/oauth-0.4.7/tasks/website.rake
rubydoctest-1.1.5 tasks/website.rake
rubydoctest-1.1.4 tasks/website.rake
oauth-ap-0.4.8 tasks/website.rake
Bill-route_name_for-0.0.1 tasks/website.rake
Bill-route_name_for-0.0.2 tasks/website.rake
Bill-route_name_for-0.0.3 tasks/website.rake
Empact-rbiphonetest-0.3.0 tasks/website.rake
akitaonrails-mygist-0.0.1 tasks/website.rake
arpitjain11-rubycas-server-0.8.0.20090612 tasks/website.rake
arpitjain11-rubycas-server-0.8.0.20090613 tasks/website.rake
aslakhellesoy-cucumber-0.0.1 gem_tasks/website.rake
aslakhellesoy-cucumber-0.1.1 gem_tasks/website.rake
aslakhellesoy-cucumber-0.1.2 gem_tasks/website.rake
aslakhellesoy-cucumber-0.1.3 gem_tasks/website.rake
aslakhellesoy-cucumber-0.1.4 gem_tasks/website.rake
auser-dslify-0.0.1 tasks/website.rake
auser-dslify-0.0.3 tasks/website.rake