mirror of
https://github.com/beego/bee.git
synced 2024-12-22 04:50:49 +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