[Haskell-cafe] Test suite sections of cabal
Felipe Almeida Lessa
felipe.lessa at gmail.com
Thu Feb 16 10:31:49 CET 2012
On Thu, Feb 16, 2012 at 7:24 AM, Kazu Yamamoto <kazu at iij.ad.jp> wrote:
> Do you mean that if we separate directories for src and test,
> build-depends of test-suite works, and if we don't separate, it does
> not work?
If we have separate directories, then you can "build-depends:
own-package". This means that on the test suite's build-depends you
need to list only the dependencies that the test-suite needs, not
every dependency. Also, you don't need to constrain the version of
any duplicated dependency.
Cheers,
--
Felipe.
More information about the Haskell-Cafe
mailing list