Skip to content
Browse files

Added that rake rails:freeze:edge will now just export all the conten…

…ts 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
  • Loading branch information...
1 parent 68ff2eb commit e9d6429ad32bc714061b8a80b0bb1575cb143ce7 @dhh dhh committed Mar 3, 2006
Showing with 4 additions and 10 deletions.
  1. +2 −0 railties/CHANGELOG
  2. +2 −10 railties/lib/tasks/framework.rake
View
2 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]
View
12 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

0 comments on commit e9d6429

Please sign in to comment.
Something went wrong with that request. Please try again.