mirror of
https://github.com/github/rails.git
synced 2026-01-29 00:08:15 -05:00
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
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user