Commit 1cb1c44d2b77eead0cbf5c336015446af72784ce
1 parent
ad1b7139
Exists in
master
and in
1 other branch
Updating lgtm control file.
Showing
2 changed files
with
40 additions
and
42 deletions
Show diff stats
.lgtm.yml
... | ... | @@ -1,42 +0,0 @@ |
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 | - configure: | |
9 | - command: | |
10 | - - NOCONFIGURE=1 ./autogen.sh | |
11 | - - ./configure --prefix=/usr --with-product-name="pw3270" | |
12 | - prepare: | |
13 | - packages: | |
14 | - - gettext | |
15 | - - git | |
16 | - - make | |
17 | - - autotools-dev | |
18 | - - autoconf | |
19 | - - automake | |
20 | - - pkg-config | |
21 | - - gettext | |
22 | - - libssl-dev | |
23 | - - libcurl4-openssl-dev | |
24 | - - libgtk-3-dev | |
25 | - - imagemagick | |
26 | - | |
27 | - # Add an `after-prepare` step if you need to run commands after the prepare step. | |
28 | - # Each command should be listed on a separate line. | |
29 | - # This step is useful for C/C++ analysis where you want to prepare the environment | |
30 | - # for the `configure` step without changing the default behavior for that step. | |
31 | - after_prepare: | |
32 | - - export PRE_REQS_DIR=$(readlink -f .)/pre-reqs | |
33 | - - git clone https://github.com/PerryWerneck/lib3270.git ./lib3270 | |
34 | - - cd lib3270 | |
35 | - - ./autogen.sh | |
36 | - - ./configure --prefix=/usr | |
37 | - - make | |
38 | - - make DESTDIR=${PRE_REQS_DIR} install | |
39 | - - cd .. | |
40 | - - export LIB3270_CFLAGS="-DLIB3270_NAME=3270 -DLIB3270_REVISION=00000000 -I${PRE_REQS_DIR}/usr/include" | |
41 | - - export LIB3270_LIBS="-L${PRE_REQS_DIR}/usr/lib -l3270" | |
42 | - |
... | ... | @@ -0,0 +1,40 @@ |
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 | + configure: | |
24 | + command: | |
25 | + - export PRE_REQS_DIR="$(readlink -f .)/pre-reqs" | |
26 | + - mkdir -p "${PRE_REQS_DIR}/src" | |
27 | + - git clone https://github.com/PerryWerneck/lib3270.git "${PRE_REQS_DIR}/src/lib3270" | |
28 | + - ${PRE_REQS_DIR}/src/lib3270/autogen.sh --prefix=/usr | |
29 | + - make -C ${PRE_REQS_DIR}/src/lib3270 all | |
30 | + - make DESTDIR=${PRE_REQS_DIR} -C ${PRE_REQS_DIR}/src/lib3270 install | |
31 | + - find "${PRE_REQS_DIR}" | |
32 | + - export LIB3270_CFLAGS="-DLIB3270_NAME=3270 -DLIB3270_REVISION=00000000 -I${PRE_REQS_DIR}/usr/include" | |
33 | + - export LIB3270_LIBS="-L${PRE_REQS_DIR}/usr/lib -l3270" | |
34 | + - ./autogen.sh --prefix=/usr --with-product-name="pw3270" | |
35 | + - cat Makefile | |
36 | + | |
37 | + index: | |
38 | + build_command: | |
39 | + - make all | |
40 | + | ... | ... |