LGTM Enterprise 1.19.2

lgtm-build-requirements

Purpose

Provide a quick check of whether the current machine is set up with the basic dependencies and environment for building/analyzing projects using the default build methods supported by LGTM Enterprise.

TypeScript will be reported as "not found" unless Node.js is installed. For information about setting this up, see Setting up a host for JavaScript and TypeScript analysis.

Usage

[sudo] lgtm‑build‑requirements

Flags

None supported.

Example

The output of the command depends on the configuration of the current machine. For example, if you have only configured Python 2 analysis and the Maven build system, you might see the following output:

[info] This tool is intended to provide a rough indication of what kinds of projects will be buildable on this worker. Some projects will have extra build dependencies.

[info] Java
[success] javac found.
[success] maven found.
[warning] gradle was not found. You are unlikely to be able to analyze Gradle projects unless they use the Gradle wrapper.
[warning] ant was not found. You are unlikely to be able to analyze Ant projects.

[info] JavaScript
[success] You should be able to analyze JavaScript projects.
[warning] node was not found. You are unlikely to be able to analyze TypeScript projects.

[info] Python
[success] python2 found.
[success] pip for python2 found.
[success] packaging for python2 found.
[Success] virtualenv for python2 found.
[error] python3 was not found. You are unlikely to be able to analyze any Python 3 projects.

[info] C/C++
[success] make found.
[warning] gcc was not found. You are unlikely to be able to analyze projects that build with gcc.
[warning] clang was not found. You are unlikely to be able to analyze projects that build with clang.

[info] C#
[warning] mono was not found. You are unlikely to be able to analyze C# projects.

Related topicsRelated topics