From 12ff2f76da52473af524a4c4167d0f047298bd72 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 2 Jul 2005 06:23:35 +0000 Subject: Rake task to update spin off libraries #1514 [Tobias Luetke] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1599 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- railties/Rakefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'railties') diff --git a/railties/Rakefile b/railties/Rakefile index 4f090dc889..28cc23d84b 100644 --- a/railties/Rakefile +++ b/railties/Rakefile @@ -59,6 +59,18 @@ task :clean do rm_rf PKG_DESTINATION end +# Get external spinoffs ------------------------------------------------------------------- + +task :update_scriptaculous do + system("svn export --force http://dev.rubyonrails.org/svn/rails/spinoffs/scriptaculous/src/ #{File.dirname(__FILE__)}/html/javascripts") +end + +task :update_prototype do + system("svn export --force http://dev.rubyonrails.org/svn/rails/trunk/actionpack/lib/action_view/helpers/javascripts/prototype.js #{File.dirname(__FILE__)}/html/javascripts/prototype.js") +end + +desc "Updates railties to the latest version of the javascript spinoffs" +task :update_js => [:update_scriptaculous, :update_prototype] # Make directory structure ---------------------------------------------------------------- -- cgit v1.2.3