pub fn add_import_util(lua: &Lua, current_path: &Path) -> Result<(), Error>Expand description
Exposes the core Package DSL and lifecycle functions to the Lua environment.
This module defines the primary entry points for a .pkg.lua script:
metadata: Defines the staticPackagestruct fields.dependencies: Defines the runtime and build dependency graph.prepare/build/package: Placeholder functions that the maintainer overrides to define the build logic.IMPORT/INCLUDE: Helpers for modular package definitions.
These functions bridge the declarative metadata and the imperative build logic.