Support Swift for private beta (#1350)
Co-authored-by: Henry Mercer <henry.mercer@me.com>
This commit is contained in:
parent
af487b12e7
commit
0eacdb53ad
21 changed files with 664 additions and 5 deletions
4
lib/codeql.js
generated
4
lib/codeql.js
generated
|
|
@ -554,7 +554,9 @@ async function getCodeQLForCmd(cmd, checkVersion) {
|
|||
},
|
||||
async runAutobuild(language) {
|
||||
const cmdName = process.platform === "win32" ? "autobuild.cmd" : "autobuild.sh";
|
||||
const autobuildCmd = path.join(path.dirname(cmd), language, "tools", cmdName);
|
||||
// The autobuilder for Swift is located in the experimental/ directory.
|
||||
const possibleExperimentalDir = language === languages_1.Language.swift ? "experimental" : "";
|
||||
const autobuildCmd = path.join(path.dirname(cmd), possibleExperimentalDir, language, "tools", cmdName);
|
||||
// Update JAVA_TOOL_OPTIONS to contain '-Dhttp.keepAlive=false'
|
||||
// This is because of an issue with Azure pipelines timing out connections after 4 minutes
|
||||
// and Maven not properly handling closed connections
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue