From 2de0238f10eaf9b38efad0cc1c9ff4f6b7a426e2 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 12 Jun 2013 10:47:01 -0700 Subject: [PATCH] command/build: Change default colors --- command/build/command.go | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/command/build/command.go b/command/build/command.go index fafcb3a20..ba15b1cd3 100644 --- a/command/build/command.go +++ b/command/build/command.go @@ -90,10 +90,10 @@ func (c Command) Run(env packer.Environment, args []string) int { // Compile all the UIs for the builds colors := [5]packer.UiColor{ packer.UiColorGreen, + packer.UiColorCyan, + packer.UiColorMagenta, packer.UiColorYellow, packer.UiColorBlue, - packer.UiColorMagenta, - packer.UiColorCyan, } 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())) } + // Add a newline between the color output and the actual output + env.Ui().Say("") + // Prepare all the builds for _, b := range builds { log.Printf("Preparing build: %s", b.Name())