Skip to main content

build

Function build 

Source
pub fn build(
    cfg: &KitConfig,
    plugin_dir: impl AsRef<Path>,
    out_dir: impl AsRef<Path>,
    options: &PackOptions,
) -> KitResult<PackedAssets>
Expand description

Builds a plugin checkout into the two files a release carries.

cfg supplies the naming rules (it is the same KitConfig the host installs with); plugin_dir is the root of the plugin crate; out_dir is created if needed.

ยงErrors