Mercurial > public > mercurial-scm > hg-stable
diff rust/hgcli/pyoxidizer.bzl @ 47843:5f2b0d34f24d stable
pyoxidizer: wrap the pyoxidizer script on multiple line
This is clearer and will help with future edition of the script.
Differential Revision: https://phab.mercurial-scm.org/D11300
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Wed, 18 Aug 2021 16:02:46 +0200 |
parents | 11f834e7177d |
children | b962a913ee3b |
line wrap: on
line diff
--- a/rust/hgcli/pyoxidizer.bzl Wed Aug 18 15:05:25 2021 +0200 +++ b/rust/hgcli/pyoxidizer.bzl Wed Aug 18 16:02:46 2021 +0200 @@ -35,7 +35,12 @@ IS_WINDOWS = "windows" in BUILD_TARGET_TRIPLE # Code to run in Python interpreter. -RUN_CODE = "import hgdemandimport; hgdemandimport.enable(); from mercurial import dispatch; dispatch.run()" +RUN_CODE = """ +import hgdemandimport; +hgdemandimport.enable(); +from mercurial import dispatch; +dispatch.run(); +""" set_build_path(ROOT + "/build/pyoxidizer")