mirror of
https://gitea.com/Lydanne/buildx.git
synced 2025-07-09 21:17:09 +08:00
vendor: update buildkit
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
6
vendor/github.com/moby/buildkit/util/progress/progressui/display.go
generated
vendored
6
vendor/github.com/moby/buildkit/util/progress/progressui/display.go
generated
vendored
@ -519,11 +519,11 @@ func (disp *display) print(d displayInfo, width, height int, all bool) {
|
||||
|
||||
out = align(out, timer, width)
|
||||
if j.completedTime != nil {
|
||||
color := aec.BlueF
|
||||
color := colorRun
|
||||
if j.isCanceled {
|
||||
color = aec.YellowF
|
||||
color = colorCancel
|
||||
} else if j.hasError {
|
||||
color = aec.RedF
|
||||
color = colorError
|
||||
}
|
||||
out = aec.Apply(out, color)
|
||||
}
|
||||
|
12
vendor/github.com/moby/buildkit/util/progress/progressui/term.go
generated
vendored
Normal file
12
vendor/github.com/moby/buildkit/util/progress/progressui/term.go
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
//go:build !windows
|
||||
// +build !windows
|
||||
|
||||
package progressui
|
||||
|
||||
import "github.com/morikuni/aec"
|
||||
|
||||
var (
|
||||
colorRun = aec.BlueF
|
||||
colorCancel = aec.YellowF
|
||||
colorError = aec.RedF
|
||||
)
|
12
vendor/github.com/moby/buildkit/util/progress/progressui/term_windows.go
generated
vendored
Normal file
12
vendor/github.com/moby/buildkit/util/progress/progressui/term_windows.go
generated
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
//go:build windows
|
||||
// +build windows
|
||||
|
||||
package progressui
|
||||
|
||||
import "github.com/morikuni/aec"
|
||||
|
||||
var (
|
||||
colorRun = aec.CyanF
|
||||
colorCancel = aec.YellowF
|
||||
colorError = aec.RedF
|
||||
)
|
Reference in New Issue
Block a user