Browse Source

Imporve output

pull/103/head
Unknown 11 years ago
parent
commit
9098c69b87
  1. 5
      cmd/bin.go
  2. 3
      cmd/build.go
  3. 4
      gopm.go

5
cmd/bin.go

@ -209,7 +209,6 @@ func runBin(ctx *cli.Context) {
log.Log("Changing work directory back to %s", wd)
os.Chdir(wd)
log.Verbose = true
log.Success("SUCC", "bin", "Binary has been built into:")
log.Success("SUCC", "", "\t"+movePath)
log.Success("SUCC", "bin", "Command executed successfully!")
fmt.Println("Binary has been built into: " + movePath)
}

3
cmd/build.go

@ -78,6 +78,5 @@ func runBuild(ctx *cli.Context) {
}
}
log.Success("SUCC", "build", "Binary has been built into:")
log.Success("SUCC", "", "\t"+newCurPath)
log.Success("SUCC", "build", "Command executed successfully!")
}

4
gopm.go

@ -29,7 +29,7 @@ import (
// Test that go1.1 tag above is included in builds. main.go refers to this definition.
const go11tag = true
const APP_VER = "0.5.7.1205.7"
const APP_VER = "0.5.7.1205"
// //cmd.CmdSearch,
// cmdClean,
@ -62,7 +62,7 @@ func main() {
//cmd.CmdTest,
}
app.Flags = append(app.Flags, []cli.Flag{
cli.BoolFlag{"noterm", "Disable color output"},
cli.BoolFlag{"noterm", "disable color output"},
cli.BoolFlag{"verbose", "show process details"},
}...)
app.Run(os.Args)

Loading…
Cancel
Save