repo.or.cz
/
cabal.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Un-ignore .bat files
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
NewSdist
/
MultiTarget
/
valid-and-test-suite.test.hs
blob
4950fde708a6a68b4f9c8f27aedddf1d2cbe5df4
1
import
Test
.
Cabal
.
Prelude
2
main
=
cabalTest
$
do
3
cwd
<-
fmap
testCurrentDir getTestEnv
4
fails
$
cabal
"v2-sdist"
[
"a"
,
"b"
,
"a-tests"
]
5
shouldNotExist
$
cwd
</>
"dist-newstyle/sdist/a-0.1.tar.gz"
6
shouldNotExist
$
cwd
</>
"dist-newstyle/sdist/b-0.1.tar.gz"