aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/tasks/javascripts.rake
blob: 5fc01562e8c042b91c7b6189906ad05ce783518c (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