Added v 0.2.3 snapshot.
[twitter4r-core.git] / tasks / web.rake
blob132ae33bc2471e6bb1794e24fa1184f855801774
1 require('rake/contrib/rubyforgepublisher')
3 namespace :web do
4   desc "Build the website, but do not publish it"
5   task :build => [:clobber, :coverage, 'spec:html', :webgen, :failing_examples_with_html, :examples_specdoc, :rdoc, :rdoc_rails]
7   desc "Upload Website to RubyForge"
8   task :publish => [:verify_user, :website] do
9     publisher = Rake::SshDirPublisher.new(
10       "rspec-website@rubyforge.org",
11       "/var/www/gforge-projects/#{PKG_NAME}",
12       "../doc/output"
13     )
14     publisher.upload
15   end
16 end