Skip to content

Commit

Permalink
fix stringifying cmd for windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
rkm committed Feb 17, 2022
1 parent d7862ec commit 6b0d1ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils/buildArtefacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@


def _run(cmd: Sequence[_STR_LIKE]) -> None:
cmd = [str(x) for x in cmd]
subprocess.check_call(("echo", "$", *cmd))
subprocess.check_call(cmd)

Expand Down Expand Up @@ -162,7 +163,7 @@ def main(argv: Optional[Sequence[str]] = None) -> int:
"--configuration", "Release",
"-p:PublishTrimmed=false",
"--runtime", f"{platform}-x64",
"--output", str(dist_tag_dir / smi_services_output_dir),
"--output", dist_tag_dir / smi_services_output_dir,
"--nologo",
)
_run(cmd)
Expand Down

0 comments on commit 6b0d1ff

Please sign in to comment.