package_buildpack

Function package_buildpack 

Source
pub fn package_buildpack(
    buildpack_directory: &Path,
    cargo_profile: CargoProfile,
    target_triple: &str,
    cargo_build_env: &[(OsString, OsString)],
    destination: &Path,
    dependencies: &BTreeMap<BuildpackId, PathBuf>,
) -> Result<(), PackageBuildpackError>
Expand description

Packages either a libcnb.rs or a composite buildpack.

ยงErrors

Returns Err if packaging failed or the given buildpack directory is unsupported.