Removing .sass-cache in update_style task to ensure that Sass caches don't cause problems when users update. Related to issue #555

This commit is contained in:
Brandon Mathis 2012-06-03 17:21:58 -05:00
parent 1ea31d13a8
commit d0257bd930

View File

@ -216,6 +216,7 @@ task :update_style, :theme do |t, args|
cp_r "#{themes_dir}/"+theme+"/sass/", "sass"
cp_r "sass.old/custom/.", "sass/custom"
puts "## Updated Sass ##"
rm_r ".sass-cache", :secure=>true if File.directory?(".sass-cache")
end
desc "Move source to source.old, install source theme updates, replace source/_includes/navigation.html with source.old's navigation"