lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 08984bb 148/156: Recognize Mustache files in


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 08984bb 148/156: Recognize Mustache files in the coding rules test
Date: Tue, 30 Jan 2018 17:22:34 -0500 (EST)

branch: master
commit 08984bb87061a3be67226c36db5046f674f10eb2
Author: Vadim Zeitlin <address@hidden>
Commit: Vadim Zeitlin <address@hidden>

    Recognize Mustache files in the coding rules test
    
    Apply the usual not C++-specific source code style checks to this new
    file type.
---
 test_coding_rules.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/test_coding_rules.cpp b/test_coding_rules.cpp
index b7f5c36..cf4cb2e 100644
--- a/test_coding_rules.cpp
+++ b/test_coding_rules.cpp
@@ -71,6 +71,7 @@ enum enum_phylum
     ,e_touchstone = 1 << 17
     ,e_xml_input  = 1 << 18
     ,e_xml_other  = 1 << 19
+    ,e_mustache   = 1 << 20
     };
 
 enum enum_kingdom
@@ -195,6 +196,7 @@ file::file(std::string const& file_path)
         : ".xrc"        == extension() ? e_xml_other
         : ".xsd"        == extension() ? e_xml_other
         : ".xsl"        == extension() ? e_xml_other
+        : ".mst"        == extension() ? e_mustache
         : phyloanalyze("^ChangeLog-")  ? e_binary
         : phyloanalyze("^tags$")       ? e_expungible
         : phyloanalyze("^COPYING$")    ? e_gpl



reply via email to

[Prev in Thread] Current Thread [Next in Thread]