mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
Format --nobuild
I'm writing python like C now, help
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user