1
0
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:
Unknown 2013-09-05 05:05:18 -04:00
parent 111bc16e19
commit 0f88e47773

View File

@ -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)
}