This PR ensures that the ChainMail app is deployed to the chain by default.
To accomplish this, the new functionality in cargo-psibase that allows for UI and postinstall scripts to be specified is leveraged in chainmail.
Also, this PR introduces a new CMake function cargo_psibase_package that allows psibase devs to tell CMake about packages that are built using cargo-psibase package rather than using the CMake psibase_package function. Therefore cargo-psibase-managed packages can be integrated into the regular build system just like the other packages.
This PR ensures that the ChainMail app is deployed to the chain by default.
To accomplish this, the new functionality in
cargo-psibase
that allows for UI and postinstall scripts to be specified is leveraged in chainmail.Also, this PR introduces a new CMake function
cargo_psibase_package
that allows psibase devs to tell CMake about packages that are built usingcargo-psibase package
rather than using the CMakepsibase_package
function. Therefore cargo-psibase-managed packages can be integrated into the regular build system just like the other packages.