1
0
Fork 0

write a precibuild_stepx automatically if the package has a prebuild script

This commit is contained in:
Enoch Riese 2022-07-19 15:46:18 -04:00
parent 6192b4dda9
commit 21ea3fc478
2 changed files with 2 additions and 1 deletions

View file

@ -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
}
}