1
0
mirror of synced 2025-12-19 18:10:59 -05:00

Creates a variable for compiled languages in code scanning docs, consolidates existing autobuild variables (#37673)

Co-authored-by: Felicity Chapman <felicitymay@github.com>
This commit is contained in:
Ben Ahmady
2023-06-09 17:41:27 +01:00
committed by GitHub
parent 62885df999
commit 462c7ca2d7
7 changed files with 11 additions and 8 deletions

View File

@@ -136,7 +136,7 @@ For compiled languages, {% data variables.product.prodname_codeql %} needs to in
{% data reusables.code-scanning.beta-kotlin-or-swift-support %}
The {% data variables.product.prodname_codeql_cli %} includes autobuilders for C/C++, C#, Go, {% ifversion codeql-swift-beta %} Java, and Swift{% else %} and Java{% endif %} code. {% data variables.product.prodname_codeql %} autobuilders allow you to build projects for compiled languages without specifying any build commands. When an autobuilder is invoked, {% data variables.product.prodname_codeql %} examines the source for evidence of a build system and attempts to run the optimal set of commands required to extract a database.
The {% data variables.product.prodname_codeql_cli %} includes autobuilders for {% data variables.code-scanning.compiled_languages %} code. {% data variables.product.prodname_codeql %} autobuilders allow you to build projects for compiled languages without specifying any build commands. When an autobuilder is invoked, {% data variables.product.prodname_codeql %} examines the source for evidence of a build system and attempts to run the optimal set of commands required to extract a database.
An autobuilder is invoked automatically when you execute `codeql database create` for a compiled `--language` if dont include a
`--command` option. For example, for a Java codebase, you would simply run: