Browse Source

Added ide mode

pull/103/head
Unknown 11 years ago
parent
commit
9581ea9218
  1. 7
      cmd/bin.go

7
cmd/bin.go

@ -135,7 +135,12 @@ func runBin(ctx *cli.Context) {
} }
// Build application. // 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 { if err != nil {
log.Error("bin", "Error occurs when 'gopm build':") log.Error("bin", "Error occurs when 'gopm build':")
log.Fatal("", "\r"+err.Error()) log.Fatal("", "\r"+err.Error())

Loading…
Cancel
Save