show build progress during watch rebuild

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
Nicolas De Loof 2025-07-17 10:47:01 +02:00 committed by Guillaume Lours
parent d62e21025c
commit fd954f266c
9 changed files with 35 additions and 10 deletions

View file

@ -19,6 +19,7 @@ package api
import (
"context"
"fmt"
"io"
"slices"
"strings"
"time"
@ -176,6 +177,8 @@ type BuildOptions struct {
Provenance string
// SBOM generate a SBOM attestation
SBOM string
// Out is the stream to write build progress
Out io.Writer
}
// Apply mutates project according to build options