]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
Create .lgtm.yml for LGTM.com C/C++ analysis
authorBas van Schaik <gitlab.com@s.traiectum.net>
Thu, 28 Feb 2019 22:15:26 +0000 (22:15 +0000)
committerTim Rühsen <tim.ruehsen@gmx.de>
Sat, 2 Mar 2019 20:20:10 +0000 (21:20 +0100)
Signed-off-by: Bas van Schaik <gitlab.com@s.traiectum.net>
.lgtm.yml [new file with mode: 0644]

diff --git a/.lgtm.yml b/.lgtm.yml
new file mode 100644 (file)
index 0000000..53c26ac
--- /dev/null
+++ b/.lgtm.yml
@@ -0,0 +1,16 @@
+extraction:
+  cpp:
+    configure:
+      command:
+      - "./bootstrap --no-git --skip-po --no-bootstrap-sync --gnulib-srcdir=gnulib"
+      - "wget -O nettle-master.zip https://git.lysator.liu.se/nettle/nettle/-/archive/master/nettle-master.zip?foo=`date +%Y%m%d`"
+      - "unzip nettle-master.zip"
+      - "mv nettle-master nettle"
+      - "cd nettle"
+      - "bash .bootstrap"
+      - "./configure --enable-mini-gmp --disable-documentation"
+      - "make"
+      - "cd .."
+      - "PKG_CONFIG_PATH=\"`pwd`/nettle\" LDFLAGS=\"-L`pwd`/nettle\" ./configure --disable-tests --disable-documentation"
+    index:
+      build_command: "LD_LIBRARY_PATH=\"`pwd`/nettle/.lib\" make"