aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParker Moore <parkrmoore@gmail.com>2014-04-03 23:59:00 -0400
committerParker Moore <parkrmoore@gmail.com>2014-04-03 23:59:00 -0400
commitf6ed4125b56ee28775f0fe1c3ebac7d6ef33daf9 (patch)
tree3220d3009075bfa02f6e61cb73462d9ece84339f
parentaffa3ffb8233f7b571a46a2c58aff574e470c369 (diff)
parentc139f680e194435d075b4cc17840d1f502a6a36c (diff)
downloadmy_new_personal_website-f6ed4125b56ee28775f0fe1c3ebac7d6ef33daf9.tar.xz
my_new_personal_website-f6ed4125b56ee28775f0fe1c3ebac7d6ef33daf9.zip
Merge pull request #1489 from duckpuppy/fix-update_style
Reversed update_style copy direction to correctly restore the sass.old/custom files to the new sass/custom folder
Diffstat (limited to '')
-rw-r--r--Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index f2372aae..cec8e058 100644
--- a/Rakefile
+++ b/Rakefile
@@ -187,8 +187,8 @@ task :update_style, :theme do |t, args|
end
mv "sass", "sass.old"
puts "## Moved styles into sass.old/"
- cp_r "#{themes_dir}/"+theme+"/sass/", "sass"
- cp_r "sass/custom/.", "sass.old/custom"
+ cp_r "#{themes_dir}/"+theme+"/sass/", "sass", :remove_destination=>true
+ cp_r "sass.old/custom/.", "sass/custom/", :remove_destination=>true
puts "## Updated Sass ##"
end