From 723ad56ca9826401bb6b0d01e5ab3a74956bc24c Mon Sep 17 00:00:00 2001 From: Siarhei Siniak Date: Sun, 10 Nov 2024 12:33:16 +0300 Subject: [PATCH] [~] Refactor --- m.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/m.py b/m.py index 2101d94..0e76645 100755 --- a/m.py +++ b/m.py @@ -184,7 +184,8 @@ def run(argv: Optional[list[str]] = None) -> None: ruff(args) elif options.command is Commands.m2: if not inside_env(): - return env(['--', 'm.py', 'm2', *args]) + env(['--', 'm.py', 'm2', *args]) + return import python.tasks.cython python.tasks.cython.mypyc_build(pathlib.Path('m.py'))