packages feed

hackport-0.5.5: cabal/cabal-testsuite/PackageTests/NewBuild/CmdRun/ExeAndLib/cabal.test.hs

import Test.Cabal.Prelude
import Control.Monad ( (>=>) )
main = cabalTest $ do
    -- the exe
    cabal' "new-run" ["foo"] >>= assertOutputContains "Hello World"
    -- the lib
    fails (cabal' "new-run" ["ExeAndLib"]) >>= assertOutputDoesNotContain "Hello World"