Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions scripts/build_fastfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from dataclasses import dataclass
from enum import StrEnum
from pathlib import Path
from types import SimpleNamespace
from typing import Iterable

import pcpp
Expand Down Expand Up @@ -153,7 +152,7 @@ def on_include_not_found(
if minify_gsc and filename.endswith(".gsc"):
log.info(f"Minifying {filename}")
size_before = len(mod_file_contents)
mod_file_contents = minify_source(mod_file_contents, SimpleNamespace())
mod_file_contents = minify_source(mod_file_contents)
size_after = len(mod_file_contents)
saving = size_before - size_after
log.info(f"Minified {filename}. {size_before=} {size_after=} {saving=}")
Expand Down
Loading