1 import Test
.Cabal
.Prelude
2 main
= cabalTest
$ withSourceCopy
$ do
3 cwd
<- fmap testCurrentDir getTestEnv
4 fails
$ cabal
"v2-sdist" ["a", "b", "--output-dir", "-"]
5 shouldNotExist
$ cwd
</> "dist-newstyle/sdist/a-0.1.tar.gz"
6 shouldNotExist
$ cwd
</> "dist-newstyle/sdist/b-0.1.tar.gz"