aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorPatrick Aikens <paikens@gmail.com>2014-02-01 00:09:38 -0500
committerPatrick Aikens <paikens@gmail.com>2014-02-01 00:09:38 -0500
commit51ad614bd2b5268ea3c7bb7ca8afbb7cafad9dfb (patch)
tree7ed3caaf963f3f619c3afcadab8a1fe15d4ef13d /Rakefile
parentfe6ef744ede363688e8538ac091519e00c30487c (diff)
downloadmy_new_personal_website-51ad614bd2b5268ea3c7bb7ca8afbb7cafad9dfb.tar.xz
my_new_personal_website-51ad614bd2b5268ea3c7bb7ca8afbb7cafad9dfb.zip
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..c7663247 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.old/custom/", :remove_destination=>true
puts "## Updated Sass ##"
end