Function brane_cli::build_ecu::handle

source ·
pub async fn handle(
    arch: Arch,
    context: PathBuf,
    file: PathBuf,
    branelet_path: Option<PathBuf>,
    keep_files: bool,
    convert_crlf: bool,
) -> Result<(), BuildError>
Expand description

§Arguments

  • arch: The architecture to compile this image for.
  • context: The directory to copy additional files (executable, working directory files) from.
  • file: Path to the package’s main file (a container file, in this case).
  • branelet_path: Optional path to a custom branelet executable. If left empty, will pull the standard one from Github instead.
  • keep_files: Determines whether or not to keep the build files after building.
  • convert_crlf: If true, will not ask to convert CRLF files but instead just do it.

§Errors

This function may error for many reasons.