Package all applications if no arguments

When using the 'package' command, of course.
master
Lertsenem 2015-11-27 17:13:29 +01:00
parent cef6150cbb
commit 566cdf5df4
1 changed files with 6 additions and 1 deletions

View File

@ -707,7 +707,12 @@ if args.command == "package":
pkgname = args.pkgname pkgname = args.pkgname
# TODO app == None => package all apps # If no app is given: package all apps
if args.apps == []:
log.info("Packaging all apps")
args.apps = persoconf.list_apps(logger=log)
# Some apps were specified, so we list them with their files
appmetas = [] appmetas = []
for app in args.apps : for app in args.apps :
# Load app META file # Load app META file