[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 36c06f88 3/5: Prepare to add a 'doxygen' conf
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 36c06f88 3/5: Prepare to add a 'doxygen' configuration file |
Date: |
Sun, 16 Apr 2023 21:32:34 -0400 (EDT) |
branch: master
commit 36c06f887420baa08909830857384d00b2688f11
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Prepare to add a 'doxygen' configuration file
---
test_coding_rules.cpp | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/test_coding_rules.cpp b/test_coding_rules.cpp
index b1ca3227..ae69083c 100644
--- a/test_coding_rules.cpp
+++ b/test_coding_rules.cpp
@@ -222,6 +222,7 @@ file::file(std::string const& file_path)
: phyloanalyze("GNUmakefile$") ? e_make
: phyloanalyze("^Makefile") ? e_make
: phyloanalyze("^md5sums$") ? e_md5
+ : phyloanalyze("^Doxyfile$") ? e_text_plain
: phyloanalyze("^INSTALL$") ? e_text_plain
: phyloanalyze("^README") ? e_text_plain
// test file contents only if necessary
@@ -1147,7 +1148,8 @@ void enforce_taboos(file const& f)
}
if
- ( !pcre::search(f.data(), pcre::regex(my_taboo_indulgence()))
+ ( !f.phyloanalyze("Doxyfile") // Has a string resembling a taboo name.
+ && !pcre::search(f.data(), pcre::regex(my_taboo_indulgence()))
&& !contains(f.data(), "Automatically generated from custom input.")
)
{