building time disabled
This commit is contained in:
parent
08ea100437
commit
600ba22f68
|
@ -127,12 +127,12 @@ func (p *Project) Watching() {
|
||||||
func (p *Project) install(channel chan bool,wr *sync.WaitGroup) {
|
func (p *Project) install(channel chan bool,wr *sync.WaitGroup) {
|
||||||
if p.Bin {
|
if p.Bin {
|
||||||
LogSuccess(p.Name + ": Installing..")
|
LogSuccess(p.Name + ": Installing..")
|
||||||
start := time.Now()
|
//start := time.Now()
|
||||||
if err := p.GoInstall(); err != nil {
|
if err := p.GoInstall(); err != nil {
|
||||||
Fail(p.Name + ": "+err.Error())
|
Fail(p.Name + ": "+err.Error())
|
||||||
wr.Done()
|
wr.Done()
|
||||||
} else {
|
} else {
|
||||||
LogSuccess(p.Name + ": Installed - "+ string(time.Since(start)))
|
LogSuccess(p.Name + ": Installed ")
|
||||||
if p.Run {
|
if p.Run {
|
||||||
runner := make(chan bool, 1)
|
runner := make(chan bool, 1)
|
||||||
LogSuccess(p.Name + ": Running..")
|
LogSuccess(p.Name + ": Running..")
|
||||||
|
@ -154,11 +154,11 @@ func (p *Project) install(channel chan bool,wr *sync.WaitGroup) {
|
||||||
func (p *Project) build() {
|
func (p *Project) build() {
|
||||||
if p.Build {
|
if p.Build {
|
||||||
LogSuccess(p.Name + ": Building..")
|
LogSuccess(p.Name + ": Building..")
|
||||||
start := time.Now()
|
//start := time.Now()
|
||||||
if err := p.GoBuild(); err != nil {
|
if err := p.GoBuild(); err != nil {
|
||||||
Fail(p.Name + ": "+err.Error())
|
Fail(p.Name + ": "+err.Error())
|
||||||
} else {
|
} else {
|
||||||
LogSuccess(p.Name + ": Builded - "+ string(time.Since(start)))
|
LogSuccess(p.Name + ": Builded ")
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue