mirror of https://github.com/tLDP/python-tldp
parameterize the --resources to copy at build time
This commit is contained in:
parent
9c8746e486
commit
7308f331ff
|
@ -55,6 +55,9 @@ def collectconfiguration(tag, argv):
|
||||||
ap.add_argument('--skip',
|
ap.add_argument('--skip',
|
||||||
default=[], action='append', type=str,
|
default=[], action='append', type=str,
|
||||||
help='skip this stem during processing')
|
help='skip this stem during processing')
|
||||||
|
ap.add_argument('--resources',
|
||||||
|
default=['images', 'resources'], action='append', type=str,
|
||||||
|
help='subdirs to copy during build [%(default)s]')
|
||||||
ap.add_argument('--sourcedir', '--source-dir', '--source-directory',
|
ap.add_argument('--sourcedir', '--source-dir', '--source-directory',
|
||||||
'-s',
|
'-s',
|
||||||
action='append', default='', type=arg_isdirectory,
|
action='append', default='', type=arg_isdirectory,
|
||||||
|
|
Loading…
Reference in New Issue