]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add configuration for LGTM.com static code analyzer
authorOndřej Surý <ondrej@sury.org>
Wed, 22 Apr 2020 13:56:17 +0000 (15:56 +0200)
committerOndřej Surý <ondrej@sury.org>
Wed, 22 Apr 2020 14:14:43 +0000 (16:14 +0200)
.lgtm.yml [new file with mode: 0644]

diff --git a/.lgtm.yml b/.lgtm.yml
new file mode 100644 (file)
index 0000000..faf1651
--- /dev/null
+++ b/.lgtm.yml
@@ -0,0 +1,35 @@
+extraction:
+  cpp:
+    prepare:
+      packages:
+      - "libxml2-dev"
+      - "libjson-c-dev"
+      - "libssl-dev"
+      - "zlib1g-dev"
+      - "libcmocka-dev"
+      - "pkg-config"
+      - "libcap2-dev"
+      - "libedit-dev"
+      - "libidn2-dev"
+      - "libmaxminddb-dev"
+      - "libuv1-dev"
+    configure:
+      command:
+      - "autoreconf -fi"
+      - "CFLAGS=\"-Og -g\" ./configure --enable-developer"
+path_classifiers:
+  test:
+    - "lib/*/tests/"
+    - "bin/tests/"
+  docs:
+    - "**/*.xml"
+    - "**/*.docbook"
+    - "**/*.html"
+    - "**/*.1"
+    - "**/*.5"
+    - "**/*.8"
+queries:
+  - exclude: libltdl/
+  - exclude: fuzz/
+  - exclude: "bin/tests/system/*/ans*/*.py"
+  - exclude: cpp/use-of-goto