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
Add a check of the current behaviour importing duplicates
[cabal.git]
/
cabal-testsuite
/
PackageTests
/
SDist
/
Respect-Project-File
/
Projects-Default-Yes
/
cabal.sub-pq.test.hs
blob
63803ba88514955e07291c17ecf25635b72c587e
1
import
Test
.
Cabal
.
Prelude
2
3
-- cabal.sub-pq.project has "packages: p/ q/" and "cabal sdist" writes
4
-- sdist/p-0.1.tar.gz and sdist/q-0.1.tar.gz. This is correct.
5
main
=
cabalTest
.
withProjectFile
"cabal.sub-pq.project"
$
do
6
cabal
"sdist"
[
"all"
]