mirror of
https://github.com/github/rails.git
synced 2026-02-07 04:35:20 -05:00
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2933 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
7 lines
225 B
Ruby
7 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
|