Combine auto_install scripts

This commit is contained in:
David Verdeguer 2020-10-07 11:58:55 +02:00
parent 526dac0f91
commit e97bdbdfac
6 changed files with 38 additions and 162 deletions

3
lib/init.js generated
View file

@ -129,10 +129,9 @@ async function installPythonDeps(codeql, logger) {
return;
}
let install_tools_script = "install_tools.sh";
let auto_install_packages_script = "auto_install_packages.py";
const auto_install_packages_script = "auto_install_packages.py";
if (process.platform === "win32") {
install_tools_script = "install_tools.ps1";
auto_install_packages_script = "auto_install_packages_windows.py";
}
const scriptsFolder = path.resolve(__dirname, "../python-setup");
// Setup tools on the Github hosted runners