1
0
mirror of https://github.com/beego/bee.git synced 2025-07-05 18:20:18 +00:00

Merge branch 'master' of github.com:beego/bee

This commit is contained in:
slene
2013-12-23 16:45:47 +08:00
4 changed files with 46 additions and 27 deletions

View File

@ -46,7 +46,7 @@ compress an beego project
-ba additional args of go build
-o compressed file output dir. default use current path
-f format. [ tar.gz / zip ]. default tar.gz. note: zip doesn't support embed symlink, skip it
-exp path exclude prefix
-exp path exclude prefix. default: .
-exs path exclude suffix. default: .go:.DS_Store:.tmp
all path use : as separator
-fs follow symlink. default false
@ -72,7 +72,7 @@ var (
func init() {
fs := flag.NewFlagSet("pack", flag.ContinueOnError)
fs.StringVar(&appPath, "p", "", "")
fs.StringVar(&excludeP, "exp", "", "")
fs.StringVar(&excludeP, "exp", ".", "")
fs.StringVar(&excludeS, "exs", ".go:.DS_Store:.tmp", "")
fs.StringVar(&outputP, "o", "", "")
fs.BoolVar(&build, "b", true, "")