SELinux Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH] Add configuration file for lgtm.com
@ 2019-09-01 18:14 Nicolas Iooss
  2019-09-18 12:25 ` Stephen Smalley
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Iooss @ 2019-09-01 18:14 UTC (permalink / raw)
  To: selinux

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>

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
-- 
2.22.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Add configuration file for lgtm.com
  2019-09-01 18:14 [PATCH] Add configuration file for lgtm.com Nicolas Iooss
@ 2019-09-18 12:25 ` Stephen Smalley
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Smalley @ 2019-09-18 12:25 UTC (permalink / raw)
  To: Nicolas Iooss, selinux

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
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-01 18:14 [PATCH] Add configuration file for lgtm.com Nicolas Iooss
2019-09-18 12:25 ` Stephen Smalley

SELinux Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/selinux/0 selinux/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 selinux selinux/ https://lore.kernel.org/selinux \
		selinux@vger.kernel.org selinux@archiver.kernel.org
	public-inbox-index selinux


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.selinux


AGPL code for this site: git clone https://public-inbox.org/ public-inbox