Skip to content
Browse files

update task now keeps jquery up to date

  • Loading branch information...
1 parent db78a31 commit 78e92af5f6d7fde8538528e30c0bed5e8a58dca5 @parndt parndt committed Mar 23, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 bin/refinery-update-core
View
4 bin/refinery-update-core
@@ -67,6 +67,10 @@ unless rails_root.nil? or rails_root.length == 0
app_config = File.open(File.join(%W(#{rails_root} config #{app_config_file})), "r").read
+ # copy new jquery javascripts.
+ FileUtils.cp File.join(%W(#{refinery_root} public javascripts jquery.js)), File.join(%W(#{rails_root} public javascripts jquery.js))
+ FileUtils.cp File.join(%W(#{refinery_root} public javascripts jquery-ui-1.8.min.js)), File.join(%W(#{rails_root} public javascripts jquery-ui-1.8.min.js))
+
# backup app's config file and replace it, if required.
environment_updated = false
matcher = /(#===REFINERY REQUIRED GEMS===)(.+?)(#===REFINERY END OF REQUIRED GEMS===)/m

0 comments on commit 78e92af

Please sign in to comment.
Something went wrong with that request. Please try again.