Format --nobuild

I'm writing python like C now, help
This commit is contained in:
Willy-JL
2024-03-17 21:28:23 +00:00
parent 6ae098fa4e
commit bec49475cc
2 changed files with 6 additions and 2 deletions

View File

@@ -166,7 +166,11 @@ def pack(
if (source / "Fonts").is_dir():
for font in (source / "Fonts").iterdir():
if not font.is_file() or font.name.startswith(".") or font.suffix != ".c":
if (
not font.is_file()
or font.name.startswith(".")
or font.suffix != ".c"
):
continue
logger(f"Compile: font for pack '{source.name}': {font.name}")
pack_font(font, packed / "Fonts" / font.name)

View File

@@ -72,7 +72,7 @@ def _packs_emitter(target, source, env):
target_dir = target[0]
env.Replace(_PACKS_OUT_DIR=target_dir)
env.Replace(_PACKS_SRC_DIR=source_dir)
target = set();
target = set()
target.update(
source_dir.rel_path(node)