From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07F33C3A5A4 for ; Sun, 1 Sep 2019 18:14:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D1E1B20870 for ; Sun, 1 Sep 2019 18:14:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728930AbfIASOW (ORCPT ); Sun, 1 Sep 2019 14:14:22 -0400 Received: from mx1.polytechnique.org ([129.104.30.34]:48897 "EHLO mx1.polytechnique.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728929AbfIASOW (ORCPT ); Sun, 1 Sep 2019 14:14:22 -0400 Received: from localhost.localdomain (85-168-38-217.rev.numericable.fr [85.168.38.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ssl.polytechnique.org (Postfix) with ESMTPSA id C7DAF5606A9 for ; Sun, 1 Sep 2019 20:14:19 +0200 (CEST) From: Nicolas Iooss To: selinux@vger.kernel.org Subject: [PATCH] Add configuration file for lgtm.com Date: Sun, 1 Sep 2019 20:14:10 +0200 Message-Id: <20190901181410.357-1-nicolas.iooss@m4x.org> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-AV-Checked: ClamAV using ClamSMTP at svoboda.polytechnique.org (Sun Sep 1 20:14:20 2019 +0200 (CEST)) X-Org-Mail: nicolas.iooss.2010@polytechnique.org Sender: selinux-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: selinux@vger.kernel.org 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 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