]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
lgtm: adds build instructions to get lgtm to work
authorPhilippe Antoine <contact@catenacyber.fr>
Fri, 4 Jun 2021 08:21:40 +0000 (10:21 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 29 Sep 2021 12:52:00 +0000 (14:52 +0200)
LGTM is a statis analysis tool

.lgtm.yml [new file with mode: 0644]

diff --git a/.lgtm.yml b/.lgtm.yml
new file mode 100644 (file)
index 0000000..8f7a237
--- /dev/null
+++ b/.lgtm.yml
@@ -0,0 +1,9 @@
+extraction:
+  cpp:
+    prepare:
+      packages:
+        - cargo
+    after_prepare:
+      - git clone --depth 1 https://github.com/OISF/libhtp.git
+      - cargo install cbindgen
+      - export PATH=/opt/work/.cargo/bin:$PATH