Skip to main content

run

Function run 

Source
pub fn run(
    package_file: &Path,
    output_dir: Option<&Path>,
    sign: Option<String>,
    version_override: Option<&str>,
    build_type: Option<&str>,
) -> Result<(), Error>
Expand description

Bundles a package and its dependencies into a .zsa archive.

ยงErrors

Returns an error if:

  • Parsing the .pkg.lua file fails.
  • Upstream sources cannot be fetched.
  • The archive cannot be created or signed.