Skip to main content

Module build

Module build 

Source
Expand description

Builds what a suite serves: the WASM apps, with the vertigo-cli library, and the backend, with cargo.

The apps are built by the same vertigo-cli the backend or crate::serve uses for SSR, so a vertigo change is always tested on both sides at once.

With E2E_SKIP_BUILD set, nothing is built, only checked to be there from the last run.

Functionsยง

cargo_bin
Builds the binary name of the package name in the workspace and returns its path.
vertigo_app
Builds the app package into dest_dir, as vertigo build does.