Aino.Assets (aino v0.6.0)
Generate a manifest file and handles path translation
Link to this section Summary
Functions
Load an asset path from the manifest
Returns a specification to start this module under a supervisor.
Search the loaded manifest by asset path
Generate a manifest file for the application
Link to this section Functions
Link to this function
asset_path(path)
Load an asset path from the manifest
If the path is not present in the manifest, the same path is returned
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
file_from_asset(asset_path)
Search the loaded manifest by asset path
Find the matching actual file path. If none is found, the asset path is returned.
Link to this function
generate_manifest(otp_app)
Generate a manifest file for the application
Link to this function