diff options
Diffstat (limited to 'railties/lib/tasks')
-rw-r--r-- | railties/lib/tasks/javascripts.rake | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/railties/lib/tasks/javascripts.rake b/railties/lib/tasks/javascripts.rake new file mode 100644 index 0000000000..91965c8918 --- /dev/null +++ b/railties/lib/tasks/javascripts.rake @@ -0,0 +1,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 |