cmd_opts += ['--keepgoing=%s' % args.keepgoing]
if args.disable_debuginfo:
cmd_opts += ['--disable-debuginfo']
+ if args.style:
+ cmd_opts += ['--style=%s' % args.style]
#
if args.package_list:
package_list = args.package_list.split(',')
'depend on them, such as A B C depends D, first build D and then build A,B,C')
group.add_argument('--disable-debuginfo', action='store_true',
help='Do not create debuginfo packages when building')
-
+ group.add_argument('--style', default='git',
+ help='specify source type: git, or tar, default is git')
parser.set_defaults(alias="lb")
return parser