show build progress during watch rebuild

Signed-off-by: Nicolas De Loof <[email protected]>
This commit is contained in:
Nicolas De Loof
2025-07-23 13:57:46 +02:00
committed by Guillaume Lours
parent d62e21025c
commit fd954f266c
9 changed files with 35 additions and 10 deletions
+3
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