From 9581ea9218ad41401cc6055a31825211b2001f7d Mon Sep 17 00:00:00 2001 From: Unknown Date: Thu, 5 Dec 2013 08:54:54 -0500 Subject: [PATCH] Added ide mode --- cmd/bin.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cmd/bin.go b/cmd/bin.go index ef86cc07d..c046c83dc 100644 --- a/cmd/bin.go +++ b/cmd/bin.go @@ -135,7 +135,12 @@ func runBin(ctx *cli.Context) { } // Build application. - stdout, stderr, err = com.ExecCmd("gopm", "build") + args = make([]string, 0, 2) + if log.PureMode { + args = append(args, "-ide") + } + args = append(args, "build") + stdout, stderr, err = com.ExecCmd("gopm", args...) if err != nil { log.Error("bin", "Error occurs when 'gopm build':") log.Fatal("", "\r"+err.Error())