From e9d6429ad32bc714061b8a80b0bb1575cb143ce7 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 3 Mar 2006 02:54:30 +0000 Subject: [PATCH] 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 --- railties/CHANGELOG | 2 ++ railties/lib/tasks/framework.rake | 12 ++---------- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/railties/CHANGELOG b/railties/CHANGELOG index da14d3d526..b99cd374ad 100644 --- a/railties/CHANGELOG +++ b/railties/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* 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 #4047 [DHH] + * Added fix for upload problems with lighttpd from Safari/IE to config/lighttpd.conf #3999 [thijs@fngtps.com] * Added test:uncommitted to test changes since last checkin to Subversion #4035 [technomancy@gmail.com] 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