check app_bin before for launch run

This commit is contained in:
alessio 2016-08-18 00:12:19 +02:00
parent 2391b5debf
commit a2bdcc17b0
1 changed files with 8 additions and 4 deletions

View File

@ -156,9 +156,13 @@ func (p *Project) build() {
func (p *Project) run(channel chan bool, wr *sync.WaitGroup) {
if p.Run{
if p.Bin {
LogSuccess(p.Name + ": Running..")
go p.GoRun(channel, wr)
LogSuccess(p.Name + ": Runned")
}else{
LogFail("Set 'app_run' to true")
}
}
return
}