feat(prebuild): add builder opt to build tasks.

This commit is contained in:
Alexandre Pujol 2024-05-25 22:32:10 +01:00
parent 02e3334949
commit 2dd6046697
No known key found for this signature in database
GPG key ID: C5469996F0DF68EC
9 changed files with 38 additions and 13 deletions

View file

@ -83,11 +83,9 @@ func Build() error {
if err != nil {
return err
}
for _, b := range builder.Builds {
profile, err = b.Apply(profile)
if err != nil {
return err
}
profile, err = builder.Run(file, profile)
if err != nil {
return err
}
profile, err = directive.Run(file, profile)
if err != nil {