aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/tasks/javascripts.rake
blob: 91965c8918e6e671a2d1bd237ec195903265a11c (plain) (blame)
1
2
3
4
5
6
desc "Update your javascripts from your current rails install."
task :update_javascripts do 
  require 'railties_path'  
  FileUtils.cp(Dir[RAILTIES_PATH + '/../html/javascripts/*.js'], RAILS_ROOT + '/public/javascripts/')
end