Open michivi opened 2 years ago
Sure definitely doable. Happy to accept contributions. But my question is, does it really matter? Compiling dependencies is a one time thing, no?
Right, but it still feels unnecessary to build tasty and its dependencies when we're using hspec. In CI, we would also use unnecessary storage for the compiled binary, though surely not significantly to be important. In any case, I guess this sure sounds low-priority as nothing is broken. If I have time, I'll try to tackle it 🙂
Sounds good!
Question
Would it be possible to have two different packages, one for Hspec and one for Tasty?
Currently, when one chooses to use Hspec (resp. Tasty), they also have to compile Tasty (resp. Hspec) as
testcontainers-hs
uses both as dependencies. But they won't actually use it.Perhaps having something like this could help:
testcontainers-hs-core
package would have all the definitions required to usetestcontainers-hs
, whether we're a Hspec user or Tasty user.testcontainers-hs-hspec
package for Hspec userstestcontainers-hs-tasty
package for Tasty usersDo you think something like that would be doable? Thanks in any case 🙂