Skip to content

Commit 24085b0

Browse files
committed
Refactor Python tools and native E2E capture
1 parent 3ed4fc9 commit 24085b0

88 files changed

Lines changed: 1443 additions & 2104 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Local dev config. Copy to .env and edit. .env is gitignored — never committed.
22

33
# Absolute path to your built spring engine install dir (the one containing the
4-
# `spring` binary). Used by tools/dev/launch.sh and tools/smoke/run_sbc.py.
4+
# `spring` binary). Used by the manual launcher and smoke tests.
55
SBC_ENGINE_DIR=/path/to/spring-bar/build-linux/install
66

77
# Engine build + rust dirs, used only by the engine-build just recipes

CLAUDE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Use `just` for every dev command
44

5-
Never invoke `cargo`, `pytest`, `luacheck` or `tools/e2e/ui_driver.py` directly. The
5+
Never invoke `cargo`, `pytest`, `luacheck` or E2E Python modules directly. The
66
recipes carry the right directories, flags and env (the crate lives in `native/`, so
77
plain `cargo` from the repo root does not even find a `Cargo.toml`).
88

build/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ then renames `spring` to `SpringBoard` or `SpringBoard.exe`. The application
1212
build exports the exact `.sdz` embedded in the application as the standalone
1313
editor artifact.
1414

15-
```bash
16-
uv run --project build --locked sbc-packager-base --help
17-
uv run --project build --locked sbc-packager-application --help
18-
```
15+
Use `just bundle-base-linux` for the editor archive and
16+
`just bundle-application-linux` for the complete application. `just --show
17+
bundle-base-linux` and `just --show bundle-application-linux` show their
18+
arguments.
1919

2020
Linux applications use `.tar.gz`; Windows applications use `.zip`. Every
2121
published file has a SHA-256 checksum.

build/pyproject.toml

Lines changed: 0 additions & 30 deletions
This file was deleted.

build/sbc_packager/application/archive.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import gzip
42
import hashlib
53
import shutil

build/sbc_packager/application/cli.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import shutil
42
from pathlib import Path
53
from typing import Annotated

build/sbc_packager/application/config.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import json
42
from dataclasses import dataclass
53
from pathlib import Path

build/sbc_packager/application/engine.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import shutil
42
import subprocess
53
from pathlib import Path

build/sbc_packager/cli.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import typer
42

53
from .application.cli import application_command

build/sbc_packager/editor/archive.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
from __future__ import annotations
2-
31
import json
42
import re
53
import shutil
@@ -70,9 +68,7 @@ def find_engine_loading_image(engine_directory: Path) -> Path | None:
7068
if not base_directory.is_dir():
7169
return None
7270
candidates = sorted(
73-
path
74-
for path in base_directory.iterdir()
75-
if path.is_file() and path.suffix.lower() in SUPPORTED_IMAGE_SUFFIXES
71+
path for path in base_directory.iterdir() if path.is_file() and path.suffix.lower() in SUPPORTED_IMAGE_SUFFIXES
7672
)
7773
preferred = base_directory / "RecoilEngine_4K.png"
7874
if preferred in candidates:

0 commit comments

Comments
 (0)