[+] improve mode usage

1. update ninja command;
  2. add .whl for .20, .21 versions;
This commit is contained in:
Siarhei Siniak 2025-08-04 10:06:40 +03:00
parent f87de4d9bf
commit 41d90d5dcf
4 changed files with 12 additions and 2 deletions

@ -5,7 +5,7 @@ project(
).stdout().strip('\n'),
# 'online.fxreader.uv',
# ['c', 'cpp'],
version: '0.1.5.20',
version: '0.1.5.21',
# default_options: [
# 'cpp_std=c++23',
# # 'prefer_static=true',

@ -484,9 +484,13 @@ class CLI(abc.ABC):
project_name: str,
argv: Optional[list[str]] = None,
env: Optional[dict[str, str]] = None,
mode: Optional[Literal['meson', 'pyproject']] = None,
) -> None:
project = self.projects[project_name]
if mode is None:
mode = 'meson'
if argv is None:
argv = []
@ -499,7 +503,7 @@ class CLI(abc.ABC):
[
shutil_which('ninja', True),
'-C',
str(project.build_dir / 'meson'),
str(project.build_dir / mode),
*argv,
],
env=dict(list(os.environ.items())) | env,

BIN
releases/whl/online_fxreader_pr34-0.1.5.20-py3-none-any.whl (Stored with Git LFS) Normal file

Binary file not shown.

BIN
releases/whl/online_fxreader_pr34-0.1.5.21-py3-none-any.whl (Stored with Git LFS) Normal file

Binary file not shown.