1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/tasks/javascripts.rake

6 lines
225 B
Ruby

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