formatted
This commit is contained in:
parent
4baec825cf
commit
b859b29563
@ -53,7 +53,6 @@ func LogSuccess(msg string){
|
|||||||
log.Println(green(msg))
|
log.Println(green(msg))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
func (app *App) Information() {
|
func (app *App) Information() {
|
||||||
fmt.Println(blue(app.Name) + " - " + blue(app.Version))
|
fmt.Println(blue(app.Name) + " - " + blue(app.Version))
|
||||||
fmt.Println(bluel(app.Description) + "\n")
|
fmt.Println(bluel(app.Description) + "\n")
|
||||||
|
@ -26,7 +26,6 @@ func (p *Project) GoRun (channel chan bool) error{
|
|||||||
path := base + p.Path
|
path := base + p.Path
|
||||||
build.Dir = path
|
build.Dir = path
|
||||||
|
|
||||||
|
|
||||||
stdout, err := build.StdoutPipe()
|
stdout, err := build.StdoutPipe()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
Fail(err.Error())
|
Fail(err.Error())
|
||||||
|
@ -68,7 +68,6 @@ func (p *Project) Watching(){
|
|||||||
Fail(p.Name + ": \t" + base + p.Path + dir + p.Main + " doesn't exist. Main is required")
|
Fail(p.Name + ": \t" + base + p.Path + dir + p.Main + " doesn't exist. Main is required")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
// check paths existence
|
// check paths existence
|
||||||
if _, err := os.Stat(base + p.Path + dir); err == nil {
|
if _, err := os.Stat(base + p.Path + dir); err == nil {
|
||||||
if err := filepath.Walk(base + p.Path + dir, walk); err != nil {
|
if err := filepath.Walk(base + p.Path + dir, walk); err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user