diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-06-08 20:49:21 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-06-08 20:49:21 -0700 |
commit | e9a6255938e5f860ab367a1a304409821398e36b (patch) | |
tree | a31c8f3cd7e1aa74049a8a54734371764bb6a8e0 /actionmailer/Rakefile | |
parent | 23f3b567e2983a295937b40e142f965188f7c83c (diff) | |
download | rails-e9a6255938e5f860ab367a1a304409821398e36b.tar.gz rails-e9a6255938e5f860ab367a1a304409821398e36b.tar.bz2 rails-e9a6255938e5f860ab367a1a304409821398e36b.zip |
Lazier Rakefile requires to avoid needing full rake gem on 1.9
Diffstat (limited to 'actionmailer/Rakefile')
-rw-r--r-- | actionmailer/Rakefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile index 24c25abc8b..5475ffa493 100644 --- a/actionmailer/Rakefile +++ b/actionmailer/Rakefile @@ -4,7 +4,6 @@ require 'rake/testtask' require 'rake/rdoctask' require 'rake/packagetask' require 'rake/gempackagetask' -require 'rake/contrib/sshpublisher' require File.join(File.dirname(__FILE__), 'lib', 'action_mailer', 'version') PKG_BUILD = ENV['PKG_BUILD'] ? '.' + ENV['PKG_BUILD'] : '' @@ -82,12 +81,14 @@ end desc "Publish the API documentation" task :pgem => [:package] do + require 'rake/contrib/sshpublisher' Rake::SshFilePublisher.new("gems.rubyonrails.org", "/u/sites/gems/gems", "pkg", "#{PKG_FILE_NAME}.gem").upload `ssh gems.rubyonrails.org '/u/sites/gems/gemupdate.sh'` end desc "Publish the API documentation" task :pdoc => [:rdoc] do + require 'rake/contrib/sshpublisher' Rake::SshDirPublisher.new("wrath.rubyonrails.org", "public_html/am", "doc").upload end |