Function lib::check_env[][src]

pub fn check_env() -> Result<()>
Expand description

Checks if the user has the necessary prerequisites on their system (i.e. cargo, wasm-pack, and rollup). These can all be checked by just trying to run their binaries and looking for errors. If the user has other paths for these, they can define them under the environment variables PERSEUS_CARGO_PATH, PERSEUS_WASM_PACK_PATH, and PERSEUS_ROLLUP_PATH.