Skip to content

Commit

Permalink
[Sass] Sort files for consistent compilation order.
Browse files Browse the repository at this point in the history
  • Loading branch information
hagenburger authored and nex3 committed Jul 20, 2010
1 parent 5130a84 commit 84e5445
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sass/plugin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,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)
Expand Down

0 comments on commit 84e5445

Please sign in to comment.