From 6ba882a03d38c40ff25bc97947613bf1000ba06a Mon Sep 17 00:00:00 2001 From: alessio Date: Sat, 20 Aug 2016 13:17:35 +0200 Subject: [PATCH] bin dir removed --- realize/project.go | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/realize/project.go b/realize/project.go index ca1ebd1..1513a37 100644 --- a/realize/project.go +++ b/realize/project.go @@ -81,13 +81,7 @@ func (p *Project) GoRun(channel chan bool, runner chan bool, wr *sync.WaitGroup) // GoBuild an implementation of the "go build" func (p *Project) GoBuild() error { var out bytes.Buffer - - // create bin dir - if _, err := os.Stat(p.base + "/bin"); err != nil { - if err = os.Mkdir(p.base+"/bin", 0777); err != nil { - return err - } - } + build := exec.Command("go", "build") build.Dir = p.base build.Stdout = &out