Skip to main content

run_build_only_pipeline

Function run_build_only_pipeline 

Source
pub async fn run_build_only_pipeline(args: &ModeArgs) -> Result<(), EuvError>
Expand description

Formats euv macros, builds WASM, writes HTML, then removes generated glue.

The generated .js, .d.ts, .js.map and snippets/ files are removed only after the HTML carrying their inlined bootstrap has been written, so a failed build leaves its artifacts on disk for diagnosis rather than deleting the evidence and reporting success.

§Arguments

  • &ModeArgs - The CLI arguments.

§Returns

  • Result<(), EuvError> - Indicates success or failure of the build.