From e4f558eeefc1a5a62dc8ec021493834497b59ebf Mon Sep 17 00:00:00 2001 From: alessio Date: Sat, 30 Jul 2016 01:15:47 +0200 Subject: [PATCH] bin build option --- main.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 14edfdd..217e2fd 100644 --- a/main.go +++ b/main.go @@ -66,8 +66,9 @@ func main() { Flags: []cli.Flag{ &cli.StringFlag{Name: "name", Aliases: []string{"n"}, Value: "Sample App"}, &cli.StringFlag{Name: "main", Aliases: []string{"m"}, Value: "main.go"}, - &cli.BoolFlag{Name: "build", Aliases: []string{"b"}, Value: true}, + &cli.BoolFlag{Name: "build", Aliases: []string{"b"}, Value: false}, &cli.BoolFlag{Name: "run", Aliases: []string{"r"}, Value: true}, + &cli.BoolFlag{Name: "bin", Aliases: []string{"r"}, Value: true}, }, Action: func(p *cli.Context) error { y := realize.New(p) @@ -86,8 +87,9 @@ func main() { Flags: []cli.Flag{ &cli.StringFlag{Name: "name", Aliases: []string{"n"}, Value: "Sample App"}, &cli.StringFlag{Name: "main", Aliases: []string{"m"}, Value: "main.go"}, - &cli.BoolFlag{Name: "build", Aliases: []string{"b"}, Value: true}, + &cli.BoolFlag{Name: "build", Aliases: []string{"b"}, Value: false}, &cli.BoolFlag{Name: "run", Aliases: []string{"r"}, Value: true}, + &cli.BoolFlag{Name: "bin", Aliases: []string{"r"}, Value: true}, }, Action: func(p *cli.Context) error { y := realize.New(p)