Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 3719

Show
Ignore:
Timestamp:
03/01/06 16:02:50 (3 years ago)
Author:
htonl
Message:

When freezing to edge, we should also export railties/bin and railties/html so
that rails:update:scripts and rails:update:javascripts still function.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/railties/lib/tasks/framework.rake

    r3680 r3719  
    4343 
    4444      revision_switch = ENV['REVISION'] ? " -r #{ENV['REVISION']}" : '' 
    45       for framework in %w( railties actionpack activerecord actionmailer activesupport actionwebservice ) 
     45       
     46      # Railties needs bin/ and html/ in order for update:scripts and 
     47      # update:javascripts to function properly 
     48      mkdir_p "vendor/rails/railties" 
     49      system  "svn export http://dev.rubyonrails.org/svn/rails/trunk/railties/lib vendor/rails/railties/lib #{revision_switch}" 
     50      system  "svn export http://dev.rubyonrails.org/svn/rails/trunk/railties/bin vendor/rails/railties/bin #{revision_switch}" 
     51      system  "svn export http://dev.rubyonrails.org/svn/rails/trunk/railties/html vendor/rails/railties/html #{revision_switch}" 
     52       
     53      # The rest of the frameworks really just need lib/ 
     54      for framework in %w( actionpack activerecord actionmailer activesupport actionwebservice ) 
    4655        mkdir_p "vendor/rails/#{framework}" 
    4756        system  "svn export http://dev.rubyonrails.org/svn/rails/trunk/#{framework}/lib vendor/rails/#{framework}/lib #{revision_switch}"