1 import Test
.Cabal
.Prelude
2 -- NB: This currently doesn't work with cabal-install, as the depsolver
3 -- doesn't know to compute a dependency for sublib in exe, resulting in
4 -- Setup not being called with enough dependencies. Shout if this is
5 -- a problem for you; the advised workaround is to use Setup directly
6 -- if you need per-component builds.
9 setup_install
["sublib"]
11 runExe
' "exe" [] >>= assertOutputContains
"OK"