Add configuration file for lgtm.com

Add a configuration file in order to parse the C code on
https://lgtm.com/projects/g/SELinuxProject/selinux/

The documentation about this file is on
https://help.semmle.com/lgtm-enterprise/user/help/lgtm.yml-configuration-file.html
and
https://help.semmle.com/lgtm-enterprise/user/help/cpp-extraction.html

Fixes: https://github.com/SELinuxProject/selinux/issues/98

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
This commit is contained in:
Nicolas Iooss 2019-09-01 20:14:10 +02:00 committed by stephensmalley
parent 86df2b27a7
commit e17e489ee3
1 changed files with 5 additions and 0 deletions

5
lgtm.yml Normal file
View File

@ -0,0 +1,5 @@
extraction:
cpp:
index:
build_command:
- make DESTDIR="$LGTM_WORKSPACE/destdir" install