Browse files

sort Sass/SCSS file list before compiling to ensure the same order on…

… different systems
  • Loading branch information...
1 parent 9340acf commit 65bf951c0f54c9c5f66f49e10d6fd7192d4e4fba @hagenburger committed Jul 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/sass/plugin.rb
View
2 lib/sass/plugin.rb
@@ -76,7 +76,7 @@ def update_stylesheets(individual_files = [])
template_location_array.each do |template_location, css_location|
- Dir.glob(File.join(template_location, "**", "*.s[ca]ss")).each do |file|
+ Dir.glob(File.join(template_location, "**", "*.s[ca]ss")).sort.each do |file|
# Get the relative path to the file
name = file.sub(template_location.sub(/\/*$/, '/'), "")
css = css_filename(name, css_location)

0 comments on commit 65bf951

Please sign in to comment.