Run local build before building docs
This commit is contained in:
parent
30b736eed7
commit
12db4683ac
1 changed files with 6 additions and 2 deletions
|
|
@ -36,8 +36,8 @@
|
|||
if ap is not None:
|
||||
appname = ap.group(1)
|
||||
|
||||
ALL_ACTIONS = 'man html build tag sdist upload website'.split()
|
||||
NIGHTLY_ACTIONS = 'man html build sdist upload_nightly'.split()
|
||||
ALL_ACTIONS = 'local_build man html build tag sdist upload website'.split()
|
||||
NIGHTLY_ACTIONS = 'local_build man html build sdist upload_nightly'.split()
|
||||
|
||||
|
||||
def echo_cmd(cmd: Iterable[str]) -> None:
|
||||
|
|
@ -61,6 +61,10 @@ def call(*cmd: str, cwd: Optional[str] = None, echo: bool = False) -> None:
|
|||
raise SystemExit(ret)
|
||||
|
||||
|
||||
def run_local_build(args: Any) -> None:
|
||||
call('make debug')
|
||||
|
||||
|
||||
def run_build(args: Any) -> None:
|
||||
import runpy
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue