Commit 4504f5228837fec96cb41cbb7c5a07f2fe468c16

Authored by Perry Werneck
1 parent 3c876db3
Exists in master and in 1 other branch develop

Adding lgtm configuration file.

Showing 1 changed file with 38 additions and 0 deletions   Show diff stats
.lgtm.yml 0 → 100644
... ... @@ -0,0 +1,38 @@
  1 +
  2 +# Reference: https://github.com/yasio/yasio/blob/main/.lgtm.yml
  3 +
  4 +extraction:
  5 + # Define settings for C/C++ analysis
  6 + #####################################
  7 + cpp:
  8 + prepare:
  9 + packages:
  10 + - gettext
  11 + - git
  12 + - make
  13 + - autotools-dev
  14 + - autoconf
  15 + - automake
  16 + - pkg-config
  17 + - gettext
  18 + - libssl-dev
  19 + - libcurl4-openssl-dev
  20 + - libgtk-3-dev
  21 + - imagemagick
  22 +
  23 + # Add an `after-prepare` step if you need to run commands after the prepare step.
  24 + # Each command should be listed on a separate line.
  25 + # This step is useful for C/C++ analysis where you want to prepare the environment
  26 + # for the `configure` step without changing the default behavior for that step.
  27 + after_prepare:
  28 + - export PRE_REQS_DIR=$(readlink -f .)/pre-reqs
  29 + - git clone https://github.com/PerryWerneck/lib3270.git ./lib3270
  30 + - cd lib3270
  31 + - ./autogen.sh
  32 + - ./configure --prefix=/usr
  33 + - make
  34 + - make DESTDIR=${PRE_REQS_DIR} install
  35 + - cd ..
  36 + - export LIB3270_CFLAGS="-DLIB3270_NAME=3270 -DLIB3270_REVISION=00000000 -I${PRE_REQS_DIR}/usr/include"
  37 + - export LIB3270_LIBS="-L${PRE_REQS_DIR}/usr/lib -l3270"
  38 +
... ...