diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-03 02:54:30 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-03 02:54:30 +0000 |
commit | e9d6429ad32bc714061b8a80b0bb1575cb143ce7 (patch) | |
tree | 4717e74f73bc09105abdaad2583cf466a244507b /railties | |
parent | 68ff2ebbea15936b618cd0476f4acd24728a6348 (diff) | |
download | rails-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')
-rw-r--r-- | railties/CHANGELOG | 2 | ||||
-rw-r--r-- | 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 |