mirror of
https://github.com/zeek/zeek.git
synced 2025-10-01 22:28:20 +00:00
Add LGTM config file
This commit is contained in:
parent
9658271d19
commit
2a48dd559a
1 changed files with 45 additions and 0 deletions
45
.lgtm.yml
Normal file
45
.lgtm.yml
Normal file
|
@ -0,0 +1,45 @@
|
|||
# LGTM config file docs: https://lgtm.com/help/lgtm/lgtm.yml-configuration-file
|
||||
|
||||
# Results from files under any classifier will be excluded from LGTM stats.
|
||||
path_classifiers:
|
||||
library:
|
||||
- "auxil/broker/caf/"
|
||||
- "auxil/libkqueue/"
|
||||
- "auxil/highwayhash/"
|
||||
- "auxil/rapidjson/"
|
||||
- "src/3rdparty/"
|
||||
|
||||
# Filter out alerts that aren't concerning.
|
||||
queries:
|
||||
- exclude: cpp/use-of-goto
|
||||
- exclude: cpp/short-global-name
|
||||
- exclude: cpp/fixme-comment
|
||||
- exclude: cpp/function-in-block
|
||||
|
||||
extraction:
|
||||
cpp:
|
||||
prepare:
|
||||
# Ubuntu packages to install.
|
||||
packages:
|
||||
- cmake
|
||||
- make
|
||||
- ninja-build
|
||||
- gcc
|
||||
- g++
|
||||
- flex
|
||||
- bison
|
||||
- libpcap-dev
|
||||
- libssl-dev
|
||||
- python3
|
||||
- python3-dev
|
||||
- swig
|
||||
- zlib1g-dev
|
||||
- libkrb5-dev
|
||||
|
||||
configure:
|
||||
command:
|
||||
- ./configure --build-type=debug --generator=Ninja
|
||||
|
||||
index:
|
||||
build_command:
|
||||
- ( cd build && ninja )
|
Loading…
Add table
Add a link
Reference in a new issue