mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-28 11:11:47 +02:00
Run local build before building docs
This commit is contained in:
@@ -36,8 +36,8 @@ ap = re.search(r"^appname: str\s+=\s+'([^']+)'", raw, flags=re.MULTILINE)
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user