Small report change
This commit is contained in:
committed by
Timothy O'Barr
parent
a1bdbf99f4
commit
15e6cd42ff
@@ -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/; \
|
||||
|
||||
+2
-4
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user