diff mbox series

Add configuration file for lgtm.com

Message ID 20190901181410.357-1-nicolas.iooss@m4x.org (mailing list archive)
State Accepted
Headers show
Series Add configuration file for lgtm.com | expand

Commit Message

Nicolas Iooss Sept. 1, 2019, 6:14 p.m. UTC
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>

Comments

Stephen Smalley Sept. 18, 2019, 12:25 p.m. UTC | #1
On 9/1/19 2:14 PM, Nicolas Iooss wrote:
> 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

Thanks, applied.

> 
> Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
> 
> diff --git a/lgtm.yml b/lgtm.yml
> new file mode 100644
> index 000000000000..f80bf1461fb6
> --- /dev/null
> +++ b/lgtm.yml
> @@ -0,0 +1,5 @@
> +extraction:
> +  cpp:
> +    index:
> +      build_command:
> +        - make DESTDIR="$LGTM_WORKSPACE/destdir" install
>
diff mbox series

Patch

diff --git a/lgtm.yml b/lgtm.yml
new file mode 100644
index 000000000000..f80bf1461fb6
--- /dev/null
+++ b/lgtm.yml
@@ -0,0 +1,5 @@ 
+extraction:
+  cpp:
+    index:
+      build_command:
+        - make DESTDIR="$LGTM_WORKSPACE/destdir" install