1 {-# LANGUAGE OverloadedStrings #-}
2 import Test
.Cabal
.Prelude
3 import Test
.Cabal
.DecodeShowBuildInfo
6 runShowBuildInfo
["all", "--enable-tests"]
8 assertComponent
"A" (exe
"A")
10 { sourceFiles
= ["Main.hs"]
11 , sourceDirs
= ["src"]
13 assertComponent
"A" mainLib
16 , sourceDirs
= ["src"]
19 assertComponent
"B" mainLib
22 , sourceDirs
= ["lib"]
24 assertComponent
"A" (test
"A-tests")
26 { sourceFiles
= ["Test.hs"]
27 , sourceDirs
= ["src"]