@@ -301,7 +301,7 @@ func (b *Builder) preprocess() error {
301
301
}
302
302
b .Progress .CompleteStep ()
303
303
304
- if err := b .RunRecipe ("recipe.hooks.prebuild" , " .pattern" , false ); err != nil {
304
+ if err := b .RunRecipe ("recipe.hooks.prebuild.pattern" , false ); err != nil {
305
305
return err
306
306
}
307
307
b .Progress .CompleteStep ()
@@ -382,7 +382,7 @@ func (b *Builder) Build() error {
382
382
// Build fixdoc
383
383
func (b * Builder ) build () error {
384
384
b .logIfVerbose (false , i18n .Tr ("Compiling sketch..." ))
385
- if err := b .RunRecipe ("recipe.hooks.sketch.prebuild" , " .pattern" , false ); err != nil {
385
+ if err := b .RunRecipe ("recipe.hooks.sketch.prebuild.pattern" , false ); err != nil {
386
386
return err
387
387
}
388
388
b .Progress .CompleteStep ()
@@ -392,13 +392,13 @@ func (b *Builder) build() error {
392
392
}
393
393
b .Progress .CompleteStep ()
394
394
395
- if err := b .RunRecipe ("recipe.hooks.sketch.postbuild" , " .pattern" , true ); err != nil {
395
+ if err := b .RunRecipe ("recipe.hooks.sketch.postbuild.pattern" , true ); err != nil {
396
396
return err
397
397
}
398
398
b .Progress .CompleteStep ()
399
399
400
400
b .logIfVerbose (false , i18n .Tr ("Compiling libraries..." ))
401
- if err := b .RunRecipe ("recipe.hooks.libraries.prebuild" , " .pattern" , false ); err != nil {
401
+ if err := b .RunRecipe ("recipe.hooks.libraries.prebuild.pattern" , false ); err != nil {
402
402
return err
403
403
}
404
404
b .Progress .CompleteStep ()
@@ -413,13 +413,13 @@ func (b *Builder) build() error {
413
413
}
414
414
b .Progress .CompleteStep ()
415
415
416
- if err := b .RunRecipe ("recipe.hooks.libraries.postbuild" , " .pattern" , true ); err != nil {
416
+ if err := b .RunRecipe ("recipe.hooks.libraries.postbuild.pattern" , true ); err != nil {
417
417
return err
418
418
}
419
419
b .Progress .CompleteStep ()
420
420
421
421
b .logIfVerbose (false , i18n .Tr ("Compiling core..." ))
422
- if err := b .RunRecipe ("recipe.hooks.core.prebuild" , " .pattern" , false ); err != nil {
422
+ if err := b .RunRecipe ("recipe.hooks.core.prebuild.pattern" , false ); err != nil {
423
423
return err
424
424
}
425
425
b .Progress .CompleteStep ()
@@ -429,13 +429,13 @@ func (b *Builder) build() error {
429
429
}
430
430
b .Progress .CompleteStep ()
431
431
432
- if err := b .RunRecipe ("recipe.hooks.core.postbuild" , " .pattern" , true ); err != nil {
432
+ if err := b .RunRecipe ("recipe.hooks.core.postbuild.pattern" , true ); err != nil {
433
433
return err
434
434
}
435
435
b .Progress .CompleteStep ()
436
436
437
437
b .logIfVerbose (false , i18n .Tr ("Linking everything together..." ))
438
- if err := b .RunRecipe ("recipe.hooks.linking.prelink" , " .pattern" , false ); err != nil {
438
+ if err := b .RunRecipe ("recipe.hooks.linking.prelink.pattern" , false ); err != nil {
439
439
return err
440
440
}
441
441
b .Progress .CompleteStep ()
@@ -445,22 +445,22 @@ func (b *Builder) build() error {
445
445
}
446
446
b .Progress .CompleteStep ()
447
447
448
- if err := b .RunRecipe ("recipe.hooks.linking.postlink" , " .pattern" , true ); err != nil {
448
+ if err := b .RunRecipe ("recipe.hooks.linking.postlink.pattern" , true ); err != nil {
449
449
return err
450
450
}
451
451
b .Progress .CompleteStep ()
452
452
453
- if err := b .RunRecipe ("recipe.hooks.objcopy.preobjcopy" , " .pattern" , false ); err != nil {
453
+ if err := b .RunRecipe ("recipe.hooks.objcopy.preobjcopy.pattern" , false ); err != nil {
454
454
return err
455
455
}
456
456
b .Progress .CompleteStep ()
457
457
458
- if err := b .RunRecipe ("recipe.objcopy" , " .pattern" , true ); err != nil {
458
+ if err := b .RunRecipe ("recipe.objcopy.pattern" , true ); err != nil {
459
459
return err
460
460
}
461
461
b .Progress .CompleteStep ()
462
462
463
- if err := b .RunRecipe ("recipe.hooks.objcopy.postobjcopy" , " .pattern" , true ); err != nil {
463
+ if err := b .RunRecipe ("recipe.hooks.objcopy.postobjcopy.pattern" , true ); err != nil {
464
464
return err
465
465
}
466
466
b .Progress .CompleteStep ()
@@ -470,7 +470,7 @@ func (b *Builder) build() error {
470
470
}
471
471
b .Progress .CompleteStep ()
472
472
473
- if err := b .RunRecipe ("recipe.hooks.postbuild" , " .pattern" , true ); err != nil {
473
+ if err := b .RunRecipe ("recipe.hooks.postbuild.pattern" , true ); err != nil {
474
474
return err
475
475
}
476
476
b .Progress .CompleteStep ()
0 commit comments