Skip to content

Commit

Permalink
built v2.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jurplel committed Mar 4, 2020
1 parent af5d4d7 commit 0360765
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ function run() {
let target = core.getInput("target");
let arch = core.getInput("arch");
let modules = core.getInput("modules").split(" ");
let mirror = core.getInput("mirror");
//set host automatically if omitted
if (!host) {
switch (process.platform) {
Expand Down Expand Up @@ -75,10 +76,14 @@ function run() {
}
if (modules) {
args.push("-m");
modules.forEach(function (currentValue) {
args.push(currentValue);
modules.forEach(function (currentModule) {
args.push(currentModule);
});
}
if (mirror) {
args.push("-b");
args.push(mirror);
}
//accomodate for differences in python 3 executable name
let pythonName = "python3";
if (process.platform == "win32") {
Expand Down

0 comments on commit 0360765

Please sign in to comment.