ssm-lang / Scoria

This is an embedding of the Sparse Synchronous Model, in Haskell!
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

Stack vs cabal #3

Closed j-hui closed 3 years ago

j-hui commented 3 years ago

Currently, stack is using the manually modified ssm.cabal to construct the build plan. This is not an immediate issue, but it is a bit concerning that stack.yaml and the generated ssm.cabal have now drifted apart. In particular, stack.yaml still points to the src/ directory, which contains some unused code.

The easiest thing to do is just to delete ssm.cabal; stack still works without. We can also consider committing to stack entirely; not having to declare exposed-modules and having stack infer them is nice, but not a must-have.

sedwards-lab commented 3 years ago

Best practice is to include the .cabal file in the repository, but not modify it independently; let stack generate it.

j-hui commented 3 years ago

Closed via #4