add support for dart as a hook language

This commit is contained in:
Anthony Sottile 2021-08-28 18:44:34 -04:00
parent 0f08ba77c8
commit f8e21cb78b
19 changed files with 227 additions and 29 deletions

View file

@ -48,8 +48,8 @@ def exe_exists(exe: str) -> bool:
)
def run_setup_cmd(prefix: Prefix, cmd: Tuple[str, ...]) -> None:
cmd_output_b(*cmd, cwd=prefix.prefix_dir)
def run_setup_cmd(prefix: Prefix, cmd: Tuple[str, ...], **kwargs: Any) -> None:
cmd_output_b(*cmd, cwd=prefix.prefix_dir, **kwargs)
@overload