diff --git a/cmd/build.go b/cmd/build.go index 2e128477d..9c366424a 100644 --- a/cmd/build.go +++ b/cmd/build.go @@ -15,6 +15,8 @@ package cmd import ( + "os" + "github.com/codegangsta/cli" "github.com/gpmgo/gopm/doc" @@ -45,5 +47,8 @@ func runBuild(ctx *cli.Context) { log.Fatal("", err.Error()) } + // I don't know why, but there is a folder named "~". + os.RemoveAll("~") + log.Success("SUCC", "Build", "Command execute successfully!") }