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

Restructuring psibase macros #870

Closed cool-ant closed 2 weeks ago

cool-ant commented 1 month ago

This PR restructures the psibase_macros into a 3-project workspace for easier dev/testing. In addition to the 3-project structure, it also splits service_macro.rs into separate files for better readability/maintainability. There are a couple of TODOs but only in the test files and are notes for tests I can add; nothing functionally missing from this PR.

All files in the rust/psibase_macros/psibase-macros-lib/src/service_macro/ dir is unmodified code simply spilt out from the single formerly rust/psibase_macros/psibase-macros-lib/src/service_macro.rs into more bite-sized chunks.

swatanabe commented 2 weeks ago

You can also add your unit tests to CI/CD in rust/CMakeLists.txt if they belong

Was this addressed?

cool-ant commented 2 weeks ago

You can also add your unit tests to CI/CD in rust/CMakeLists.txt if they belong

Was this addressed?

It is now.