Commit d83e136b authored by ttuegel's avatar ttuegel
Browse files

Filter autogenerated modules from test suite build info when doing sdist.

parent 2404df48
......@@ -411,8 +411,10 @@ mapAllBuildInfo :: (BuildInfo -> BuildInfo)
-> (PackageDescription -> PackageDescription)
mapAllBuildInfo f pkg = pkg {
library = fmap mapLibBi (library pkg),
executables = fmap mapExeBi (executables pkg)
executables = fmap mapExeBi (executables pkg),
testSuites = fmap mapTestBi (testSuites pkg)
}
where
mapLibBi lib = lib { libBuildInfo = f (libBuildInfo lib) }
mapExeBi exe = exe { buildInfo = f (buildInfo exe) }
mapTestBi t = t { testBuildInfo = f (testBuildInfo t) }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment