build_all_assets

build_all_assets(config: ~qt_dev_helper.config.Config | str | ~pathlib.Path, log_function: ~typing.Callable[[...], None] = <function print>, *, recurse_folder: bool = True) list[Path][source]

Build all assets based on the provided configuration.

This can be used in the built script when using source distributions.

Parameters:
  • config (Config | str | Path) – Configuration to use for building assets. If a path is passed it will try to find the config.

  • log_function (Callable[..., None]) – Function used to print log messages. Defaults to rich.print

  • recurse_folder (bool) – Whether or not to recurse directories searching for files. Defaults to True

Returns:

List of generated files.

Return type:

list[Path]

See also

load_config