write a precibuild_stepx automatically if the package has a prebuild script
This commit is contained in:
parent
6192b4dda9
commit
21ea3fc478
2 changed files with 2 additions and 1 deletions
|
@ -201,6 +201,7 @@ function scripts(pkg) {
|
|||
// Enforce build order by generating the cibuild_stepX scrips
|
||||
for (let step=0; step < buildOrder.length; step++) {
|
||||
if (buildOrder[step].indexOf(pkg.name) !== -1) {
|
||||
if (runScripts.prebuild) runScripts[`precibuild_step${step}`] = runScripts.prebuild
|
||||
if (runScripts.build) runScripts[`cibuild_step${step}`] = runScripts.build
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue