server flag

This commit is contained in:
alessio 2017-03-20 01:52:29 +01:00
parent d9ce669c44
commit 52af74eceb
1 changed files with 3 additions and 1 deletions

View File

@ -147,7 +147,9 @@ func main() {
r.Blueprint.Projects = []w.Project{} r.Blueprint.Projects = []w.Project{}
handle(r.Blueprint.Add(p)) handle(r.Blueprint.Add(p))
} }
if p.Bool("server") {
handle(r.Server.Start(p)) handle(r.Server.Start(p))
}
handle(r.Blueprint.Run()) handle(r.Blueprint.Run())
handle(r.Record(r)) handle(r.Record(r))
return nil return nil