staticmatic 0.10.3 → 0.10.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION.yml +1 -1
- data/lib/staticmatic/mixins/build.rb +4 -1
- metadata +1 -1
data/VERSION.yml
CHANGED
@@ -18,7 +18,10 @@ module StaticMatic::BuildMixin
|
|
18
18
|
def build_css
|
19
19
|
Dir["#{@src_dir}/stylesheets/**/*.sass"].each do |path|
|
20
20
|
file_dir, template = source_template_from_path(path.sub(/^#{@src_dir}\/stylesheets/, ''))
|
21
|
-
|
21
|
+
|
22
|
+
if !template.match(/(^|\/)\_/)
|
23
|
+
save_stylesheet(File.join(file_dir, template), generate_css(template, file_dir))
|
24
|
+
end
|
22
25
|
end
|
23
26
|
end
|
24
27
|
|