lint
This commit is contained in:
parent
d5b7bfe07e
commit
05e869c8de
@ -129,7 +129,7 @@ func (p *Project) install(channel chan bool, wr *sync.WaitGroup) {
|
|||||||
if p.Bin {
|
if p.Bin {
|
||||||
log.Println(pname(p.Name, 1), ":", "Installing..")
|
log.Println(pname(p.Name, 1), ":", "Installing..")
|
||||||
start := time.Now()
|
start := time.Now()
|
||||||
if err, std := p.GoInstall(); err != nil {
|
if std, err := p.GoInstall(); err != nil {
|
||||||
log.Println(pname(p.Name, 1), ":", fmt.Sprint(Red(err)), std)
|
log.Println(pname(p.Name, 1), ":", fmt.Sprint(Red(err)), std)
|
||||||
wr.Done()
|
wr.Done()
|
||||||
} else {
|
} else {
|
||||||
@ -157,7 +157,7 @@ func (p *Project) build() {
|
|||||||
if p.Build {
|
if p.Build {
|
||||||
log.Println(pname(p.Name, 1), ":", "Building..")
|
log.Println(pname(p.Name, 1), ":", "Building..")
|
||||||
start := time.Now()
|
start := time.Now()
|
||||||
if err, std := p.GoBuild(); err != nil {
|
if std, err := p.GoBuild(); err != nil {
|
||||||
log.Println(pname(p.Name, 1), ":", fmt.Sprint(Red(err)), std)
|
log.Println(pname(p.Name, 1), ":", fmt.Sprint(Red(err)), std)
|
||||||
} else {
|
} else {
|
||||||
log.Println(pname(p.Name, 5), ":", Green("Builded")+" after", MagentaS(big.NewFloat(float64(time.Since(start).Seconds())).Text('f', 3), "s"))
|
log.Println(pname(p.Name, 5), ":", Green("Builded")+" after", MagentaS(big.NewFloat(float64(time.Since(start).Seconds())).Text('f', 3), "s"))
|
||||||
|
Loading…
Reference in New Issue
Block a user