Added prompt for bale

This commit is contained in:
Unknown 2013-09-05 05:05:18 -04:00
parent 111bc16e19
commit 0f88e47773
1 changed files with 5 additions and 0 deletions

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