From 15e6cd42ffd2207cd1609d265469cce8c60886e0 Mon Sep 17 00:00:00 2001 From: Mc-muffin <8714476+Mc-muffin@users.noreply.github.com> Date: Fri, 21 Aug 2026 04:39:51 -0500 Subject: [PATCH] Small report change --- Makefile | 2 +- configure.py | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 16654de..7db0882 100644 --- a/Makefile +++ b/Makefile @@ -119,7 +119,7 @@ report: ## Create progress report in config directory @cd config/; \ ninja -t clean; \ ninja report.json -v -j$(NUMPROC) - @python3 -c "import json;from pathlib import Path;report=json.loads(Path('config/report.json').read_text());print(f\"Progress: {report['measures']['fuzzy_match_percent']:.2f}%\")" + @python3 -c "import json;from pathlib import Path;report=json.loads(Path('config/report.json').read_text());print(f\"Progress: {report['measures']['matched_code_percent']:.2f}% ({report['measures']['fuzzy_match_percent']:.2f}% Fuzzy)\")" clean: ## Clean artifact in config directory @cd config/; \ diff --git a/configure.py b/configure.py index 5b46c2a..9a4f0d8 100755 --- a/configure.py +++ b/configure.py @@ -244,8 +244,6 @@ def build_stuff( ld = Path("..", (Path("tools") / "cc" / COMPILER / "mwldps2.exe")) cpp = Path("tools") / "cc" / COMPILER / "mwccps2.exe" - print({cpp}) - ninja.rule( "as", description="as $in", @@ -294,7 +292,7 @@ def build_stuff( ninja.rule( "objdiff", - command="../tools/objdiff/objdiff-cli report generate -o $out -f json", + command="../tools/objdiff/objdiff-cli report generate -o $out -f json-pretty", ) @@ -342,7 +340,7 @@ def build_stuff( built_object_paths = [str(obj) for obj in built_objects] progress_object_paths = [] for obj in progress_objects: - if obj.startswith(("build/src/sdk/", "build/expected/src/sdk/", "build/src/data/", "build/expected/src/data/")): + if obj.startswith(("build/src/sdk/", "build/expected/sdk/", "build/src/data/", "build/expected/src/data/")): continue progress_object_paths.append(obj)