lib/reality/zapwhite.rb in zapwhite-2.18.0 vs lib/reality/zapwhite.rb in zapwhite-2.19.0

- old
+ new

@@ -121,11 +121,11 @@ template.remove_rule(rule) end end self.additional_gitattribute_rules.each do |line| rule = Reality::Git::AttributeRule.parse_line(line) - attributes.rule(rule.pattern, rule.attributes.merge(:priority => 2)) + attributes.rule(rule.pattern, rule.attributes.merge(:priority => 2)) if rule end attributes end def collect_file_attributes(files) @@ -292,9 +292,14 @@ # WASM development files attributes.text_rule('*.wast') attributes.text_rule('*.wat') attributes.binary_rule('*.wasm') + + # WebGL Shader files + attributes.text_rule('*.frag') + attributes.text_rule('*.vert') + attributes.text_rule('*.shader') # Rust defaults attributes.text_rule('*.rs') # Native development files