1 import Test
.Cabal
.Prelude
3 -- cabal.sub-rs.project has "packages: r/ s/" but "cabal sdist" writes
4 -- sdist/p-0.1.tar.gz and sdist/q-0.1.tar.gz instead of the expected
5 -- sdist/r-0.1.tar.gz and sdist/s-0.1.tar.gz. That is wrong, "cabal sdist"
6 -- should respect the "--project-file" option but instead picks up the default
7 -- "cabal.project" that has "packages: p/ q/".
9 -- TODO: Fix this behaviour and apply the patch cabal.sub-rs.patch to update the
10 -- expected output to what we'd expect if "cabal sdist" respected the project.
11 main
= cabalTest
. withProjectFile
"cabal.sub-rs.project" $ do