mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-23 10:07:48 -06:00
refactor: public names for cross-module reads
This commit is contained in:
1 parent
f371790dc6
commit
3853ca2f1c
254 files changed
+2955
-2969
No files matched your search
@@ -11,9 +11,6 @@ from dataclasses import dataclass, field
|
||||
from core.paths import REPO_ROOT
|
||||
|
||||
|
||||
ROOT = REPO_ROOT
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
class Step:
|
||||
command: str
|
||||
@@ -72,7 +69,7 @@ def shown(step: Step) -> str:
|
||||
|
||||
def execute(step: Step) -> int:
|
||||
env = {**os.environ, **step.env}
|
||||
return subprocess.run(argv(step.command), cwd=ROOT, env=env, check=False).returncode
|
||||
return subprocess.run(argv(step.command), cwd=REPO_ROOT, env=env, check=False).returncode
|
||||
|
||||
|
||||
def run(steps: tuple[Step, ...] = STEPS) -> int:
|
||||
|
||||
Reference in new issue
Block a user