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

Changeset 1599

Show
Ignore:
Timestamp:
07/02/05 06:23:35 (3 years ago)
Author:
david
Message:

Rake task to update spin off libraries #1514 [Tobias Luetke]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/Rakefile

    r1310 r1599  
    105105end 
    106106 
     107# Publishing ------------------------------------------------------ 
     108 
     109task :update_scriptaculous do 
     110  system("svn export --force http://dev.rubyonrails.org/svn/rails/spinoffs/scriptaculous/src/ #{File.dirname(__FILE__)}/lib/action_view/helpers/javascripts/") 
     111end 
     112 
     113desc "Updates actionpack to the latest version of the javascript spinoffs" 
     114task :update_js => [:update_scriptaculous] 
    107115 
    108116# Publishing ------------------------------------------------------ 
  • trunk/railties/Rakefile

    r1523 r1599  
    6060end 
    6161 
     62# Get external spinoffs ------------------------------------------------------------------- 
     63 
     64task :update_scriptaculous do 
     65  system("svn export --force http://dev.rubyonrails.org/svn/rails/spinoffs/scriptaculous/src/ #{File.dirname(__FILE__)}/html/javascripts") 
     66end 
     67 
     68task :update_prototype do 
     69  system("svn export --force http://dev.rubyonrails.org/svn/rails/trunk/actionpack/lib/action_view/helpers/javascripts/prototype.js #{File.dirname(__FILE__)}/html/javascripts/prototype.js") 
     70end 
     71 
     72desc "Updates railties to the latest version of the javascript spinoffs" 
     73task :update_js => [:update_scriptaculous, :update_prototype] 
    6274 
    6375# Make directory structure ----------------------------------------------------------------