Skip to content

Commit

Permalink
Format --nobuild
Browse files Browse the repository at this point in the history
I'm writing python like C now, help
  • Loading branch information
Willy-JL committed Mar 17, 2024
1 parent 6ae098f commit bec4947
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion scripts/asset_packer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion scripts/fbt_tools/fbt_assets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bec4947

Please sign in to comment.