mirror of
https://github.com/beego/bee.git
synced 2024-11-21 18:40:54 +00:00
Added prompt for bale
This commit is contained in:
parent
111bc16e19
commit
0f88e47773
5
bale.go
5
bale.go
@ -56,6 +56,11 @@ func runBale(cmd *Command, args []string) {
|
||||
|
||||
// Pack and compress data.
|
||||
for _, p := range conf.Bale.Dirs {
|
||||
if !com.IsExist(p) {
|
||||
com.ColorLog("[WARN] Skipped directory( %s )\n", p)
|
||||
continue
|
||||
}
|
||||
com.ColorLog("[INFO] Packing directory( %s )\n", p)
|
||||
filepath.Walk(p, walkFn)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user