Sha256: 399ae01c3b00fc4e35becce966e6e36015ac5bb453c800b8008743022289ca01

Contents?: true

Size: 566 Bytes

Versions: 36

Compression:

Stored size: 566 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_upload, :publish_docs]

Version data entries

36 entries across 36 versions & 14 rubygems

Version Path
alexvollmer-httparty-0.1.5 tasks/website.rake
anthonycrumley-twitter-0.3.8 tasks/website.rake
billymeltdown-twitter-0.3.8.1 tasks/website.rake
dschn-twitter-0.3.7.1 tasks/website.rake
dschn-twitter-0.3.7.2 tasks/website.rake
dustin-twitter-0.3.7 tasks/website.rake
francxk-httparty-0.1.3 tasks/website.rake
francxk-httparty-0.1.4 tasks/website.rake
gotascii-happymapper-0.1.6 tasks/website.rake
handcrafted-twitter-0.4.0 tasks/website.rake
jnunemaker-happymapper-0.1.2 tasks/website.rake
jnunemaker-happymapper-0.1.3 tasks/website.rake
jnunemaker-happymapper-0.1.4 tasks/website.rake
jnunemaker-happymapper-0.1.5 tasks/website.rake
jnunemaker-happymapper-0.1.6 tasks/website.rake
jnunemaker-httparty-0.1.4 tasks/website.rake
jnunemaker-httparty-0.1.5 tasks/website.rake
jnunemaker-httparty-0.1.6 tasks/website.rake
jnunemaker-httparty-0.1.7 tasks/website.rake
jnunemaker-twitter-0.3.4 tasks/website.rake