mirror of https://github.com/tLDP/python-tldp
add --publish option
in preparation for separating --publish and --build, add the option
This commit is contained in:
parent
0e955fce06
commit
a002fd926d
|
@ -362,6 +362,11 @@ def run(argv):
|
|||
if config.script:
|
||||
return script(config, docs, preamble=preamble, postamble=postamble)
|
||||
|
||||
# -- either --build or --publish below here ...
|
||||
#
|
||||
if config.publish:
|
||||
config.build = True
|
||||
|
||||
if not config.build:
|
||||
logger.info("Assuming --build, since no other action was specified...")
|
||||
config.build = True
|
||||
|
|
Loading…
Reference in New Issue