gofractally / psibase

Open source protocol enabling communities to easily self-host web applications
https://docs.psibase.io
MIT License
28 stars 7 forks source link

Default deploy chainmail #859

Closed James-Mart closed 1 month ago

James-Mart commented 1 month ago

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.