aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/tasks
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2006-03-03 02:54:30 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2006-03-03 02:54:30 +0000
commite9d6429ad32bc714061b8a80b0bb1575cb143ce7 (patch)
tree4717e74f73bc09105abdaad2583cf466a244507b /railties/lib/tasks
parent68ff2ebbea15936b618cd0476f4acd24728a6348 (diff)
downloadrails-e9d6429ad32bc714061b8a80b0bb1575cb143ce7.tar.gz
rails-e9d6429ad32bc714061b8a80b0bb1575cb143ce7.tar.bz2
rails-e9d6429ad32bc714061b8a80b0bb1575cb143ce7.zip
Added that rake rails:freeze:edge will now just export all the contents of the frameworks instead of just lib, so stuff like rails:update:scripts, rails:update:javascripts, and script/server on lighttpd still just works (closes #4047) [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3748 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/tasks')
-rw-r--r--railties/lib/tasks/framework.rake12
1 files changed, 2 insertions, 10 deletions
diff --git a/railties/lib/tasks/framework.rake b/railties/lib/tasks/framework.rake
index 1defb2e405..ae4d059126 100644
--- a/railties/lib/tasks/framework.rake
+++ b/railties/lib/tasks/framework.rake
@@ -43,17 +43,9 @@ namespace :rails do
revision_switch = ENV['REVISION'] ? " -r #{ENV['REVISION']}" : ''
- # Railties needs bin/ and html/ in order for update:scripts and
- # update:javascripts to function properly
- mkdir_p "vendor/rails/railties"
- system "svn export http://dev.rubyonrails.org/svn/rails/trunk/railties/lib vendor/rails/railties/lib #{revision_switch}"
- system "svn export http://dev.rubyonrails.org/svn/rails/trunk/railties/bin vendor/rails/railties/bin #{revision_switch}"
- system "svn export http://dev.rubyonrails.org/svn/rails/trunk/railties/html vendor/rails/railties/html #{revision_switch}"
-
- # The rest of the frameworks really just need lib/
- for framework in %w( actionpack activerecord actionmailer activesupport actionwebservice )
+ for framework in %w( railties actionpack activerecord actionmailer activesupport actionwebservice )
mkdir_p "vendor/rails/#{framework}"
- system "svn export http://dev.rubyonrails.org/svn/rails/trunk/#{framework}/lib vendor/rails/#{framework}/lib #{revision_switch}"
+ system "svn export http://dev.rubyonrails.org/svn/rails/trunk/#{framework} vendor/rails/#{framework} #{revision_switch}"
end
end
end