check app_bin before for launch run
This commit is contained in:
parent
2391b5debf
commit
a2bdcc17b0
|
@ -155,10 +155,14 @@ func (p *Project) build() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *Project) run(channel chan bool, wr *sync.WaitGroup) {
|
func (p *Project) run(channel chan bool, wr *sync.WaitGroup) {
|
||||||
if p.Run {
|
if p.Run{
|
||||||
LogSuccess(p.Name + ": Running..")
|
if p.Bin {
|
||||||
go p.GoRun(channel, wr)
|
LogSuccess(p.Name + ": Running..")
|
||||||
LogSuccess(p.Name + ": Runned")
|
go p.GoRun(channel, wr)
|
||||||
|
LogSuccess(p.Name + ": Runned")
|
||||||
|
}else{
|
||||||
|
LogFail("Set 'app_run' to true")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue