[Haskell-cafe] Using Cabal during development

Jonathan Daugherty drcygnus at gmail.com
Tue Feb 9 13:54:35 EST 2010


> Executable test
>   hs-source-dirs:       src, tests
>   other-modules:        Text.Yaml.Yay, Text.Yaml.Yay.Syck
>   ...

In general, it's not advisable to name your test executable "test" due
to a naming collision with the typical "test" utility.  You might
consider naming it $package_name-test.  (This is also more
cabal-install-friendly.)

-- 
  Jonathan Daugherty


More information about the Haskell-Cafe mailing list