RFC: Repository & Cabal Layout (Monorepo vs Multi-package) #12
-
|
Since this project have a lot of smaller part, possibly independent, i think we need to discuss of the folder structure early, And it seems (need to be checked) that having multiple cabal file rather than a big cabal file will help cabal to cache build like not rebuild the parser if it or it's dependencies didn't change. But i want your regards about how we structure things, since if we go the way of the .project file the only requirement seem to be that the multiple cabal packages doesn't have the same source dir, and that each |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
For codecov to properly works, (as we need to run each entry for coverage), we will need to combine them. We will need to dynamically parse the |
Beta Was this translation helpful? Give feedback.
-
|
Current Proposal: Decoupled modules to avoid a monolithic .
├── flake.nix
├── ast/
│ ├── ast.cabal
│ └── src/
├── compiler/
│ └── ...
└── vm/
└── ...Edit: Done in |
Beta Was this translation helpful? Give feedback.
Current Proposal: Decoupled modules to avoid a monolithic
src/.. ├── flake.nix ├── ast/ │ ├── ast.cabal │ └── src/ ├── compiler/ │ └── ... └── vm/ └── ...Edit: Done in