Skip to content

Commit 8269f09

Browse files
committed
Minor diagnostic tweaks
1 parent 5317e05 commit 8269f09

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/build/build_binaries.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ def build_binaries() -> None:
2424
try:
2525
subprocess.run(cmd, check=True, capture_output=True, text=True) # noqa: S603
2626
except subprocess.CalledProcessError as e:
27+
print("🛑 CLI build failed")
2728
print(e.output)
2829
exit(1)
2930

@@ -34,6 +35,7 @@ def parse_assets_json() -> tuple[Path, str]:
3435
"""Parse project.assets.json for FracturedJson version."""
3536
assets_filename = BUILD_DIR / "obj" / "project.assets.json"
3637
if not assets_filename.exists():
38+
print("🛑 project.assets.json missing")
3739
msg = f"Run 'dotnet restore' first: {assets_filename}"
3840
raise FileNotFoundError(msg)
3941

@@ -61,7 +63,7 @@ def update_version(version: str) -> None:
6163
elif toml_version != version:
6264
patch_version = True
6365
if patch_version:
64-
line = f'version = "{version}'
66+
line = f'version = "{version}' # noqa: PLW2901
6567
new_project_toml += line + "\n"
6668
if patch_version:
6769
PYPROJECT_FILE.write_text(new_project_toml)

0 commit comments

Comments
 (0)