diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-12 14:21:29 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2009-05-13 11:43:03 -0700 |
commit | 4c963972fd0fb696e857540351f7558f027ec962 (patch) | |
tree | aaed54b7381ddc2d52017e2325ef1dad48ed7f08 /Rakefile | |
parent | 216309c16519d94a9e0aebf758029a78696ab8d6 (diff) | |
download | rails-4c963972fd0fb696e857540351f7558f027ec962.tar.gz rails-4c963972fd0fb696e857540351f7558f027ec962.tar.bz2 rails-4c963972fd0fb696e857540351f7558f027ec962.zip |
Defer rake/contrib requires so we can use the stdlib rake instead of the full gem
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,6 +1,5 @@ require 'rake' require 'rake/rdoctask' -require 'rake/contrib/sshpublisher' env = %(PKG_BUILD="#{ENV['PKG_BUILD']}") if ENV['PKG_BUILD'] @@ -74,6 +73,7 @@ end desc "Publish API docs for Rails as a whole and for each component" task :pdoc => :rdoc do + require 'rake/contrib/sshpublisher' Rake::SshDirPublisher.new("wrath.rubyonrails.org", "public_html/api", "doc/rdoc").upload PROJECTS.each do |project| system %(cd #{project} && #{env} #{$0} pdoc) |