Reversed update_style copy direction to correctly restore the sass.old/custom files to the new sass/custom folder
This commit is contained in:
parent
fe6ef744ed
commit
51ad614bd2
4
Rakefile
4
Rakefile
@ -187,8 +187,8 @@ task :update_style, :theme do |t, args|
|
|||||||
end
|
end
|
||||||
mv "sass", "sass.old"
|
mv "sass", "sass.old"
|
||||||
puts "## Moved styles into sass.old/"
|
puts "## Moved styles into sass.old/"
|
||||||
cp_r "#{themes_dir}/"+theme+"/sass/", "sass"
|
cp_r "#{themes_dir}/"+theme+"/sass/", "sass", :remove_destination=>true
|
||||||
cp_r "sass/custom/.", "sass.old/custom"
|
cp_r "sass.old/custom/.", "sass.old/custom/", :remove_destination=>true
|
||||||
puts "## Updated Sass ##"
|
puts "## Updated Sass ##"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user