pub fn run(
package_file: &Path,
build_type: Option<&str>,
platforms: &[String],
sign_key: Option<String>,
output_dir: Option<&Path>,
version_override: Option<&str>,
sub_packages: Option<Vec<String>>,
fakeroot: bool,
install_deps: bool,
test: bool,
) -> Result<(), Error>Expand description
Runs the package build process inside a Bubblewrap sandbox.
ยงErrors
Returns an error if:
- Not running on Linux.
- Bubblewrap is not installed.
- The build process fails inside the sandbox.