summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBas van Schaik <gitlab.com@s.traiectum.net>2019-02-28 22:15:26 +0000
committerTim Rühsen <tim.ruehsen@gmx.de>2019-03-02 21:20:10 +0100
commit0884dfde89e5587a2cfbcef9eb329608c8b050b9 (patch)
tree5a252a860615aeaf822b740628fc6ac480aa2a0b
parent26e71744ee63abbff4d9ee5947d30be86972712e (diff)
downloadgnutls-lgtm-analysis.tar.gz
Create .lgtm.yml for LGTM.com C/C++ analysislgtm-analysis
Signed-off-by: Bas van Schaik <gitlab.com@s.traiectum.net>
-rw-r--r--.lgtm.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/.lgtm.yml b/.lgtm.yml
new file mode 100644
index 0000000000..53c26acaad
--- /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"