command/build: Change default colors
This commit is contained in:
parent
0f98852d4d
commit
2de0238f10
|
@ -90,10 +90,10 @@ func (c Command) Run(env packer.Environment, args []string) int {
|
||||||
// Compile all the UIs for the builds
|
// Compile all the UIs for the builds
|
||||||
colors := [5]packer.UiColor{
|
colors := [5]packer.UiColor{
|
||||||
packer.UiColorGreen,
|
packer.UiColorGreen,
|
||||||
|
packer.UiColorCyan,
|
||||||
|
packer.UiColorMagenta,
|
||||||
packer.UiColorYellow,
|
packer.UiColorYellow,
|
||||||
packer.UiColorBlue,
|
packer.UiColorBlue,
|
||||||
packer.UiColorMagenta,
|
|
||||||
packer.UiColorCyan,
|
|
||||||
}
|
}
|
||||||
|
|
||||||
buildUis := make(map[string]packer.Ui)
|
buildUis := make(map[string]packer.Ui)
|
||||||
|
@ -115,6 +115,9 @@ func (c Command) Run(env packer.Environment, args []string) int {
|
||||||
ui.Say(fmt.Sprintf("%s output will be in this color.", b.Name()))
|
ui.Say(fmt.Sprintf("%s output will be in this color.", b.Name()))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Add a newline between the color output and the actual output
|
||||||
|
env.Ui().Say("")
|
||||||
|
|
||||||
// Prepare all the builds
|
// Prepare all the builds
|
||||||
for _, b := range builds {
|
for _, b := range builds {
|
||||||
log.Printf("Preparing build: %s", b.Name())
|
log.Printf("Preparing build: %s", b.Name())
|
||||||
|
|
Loading…
Reference in New Issue