Skip to content

Instantly share code, notes, and snippets.

@rizwanreza
Created May 16, 2010 15:28
Show Gist options
  • Save rizwanreza/402932 to your computer and use it in GitHub Desktop.
Save rizwanreza/402932 to your computer and use it in GitHub Desktop.
diff --git a/actionpack/Rakefile b/actionpack/Rakefile
index b9ace86..f3bd7df 100644
--- a/actionpack/Rakefile
+++ b/actionpack/Rakefile
@@ -88,23 +88,4 @@ task :lines do
end
puts "Total: Lines #{total_lines}, LOC #{total_codelines}"
-end
-
-# Publishing ------------------------------------------------------
-
-task :update_scriptaculous do
- for js in %w( controls dragdrop effects )
- system("svn export --force http://dev.rubyonrails.org/svn/rails/spinoffs/scriptaculous/src/#{js}.js #{File.dirname(__FILE__)}/lib/action_view/helpers/javascripts/#{js}.js")
- end
-end
-
-desc "Updates actionpack to the latest version of the javascript spinoffs"
-task :update_js => [ :update_scriptaculous ]
-
-# Publishing ------------------------------------------------------
-
-desc "Publish the API documentation"
-task :pdoc => [:rdoc] do
- require 'rake/contrib/sshpublisher'
- Rake::SshDirPublisher.new("wrath.rubyonrails.org", "public_html/ap", "doc").upload
end
\ No newline at end of file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment