File tree Expand file tree Collapse file tree 7 files changed +44
-6
lines changed
cabal-testsuite/PackageTests/Target Expand file tree Collapse file tree 7 files changed +44
-6
lines changed Original file line number Diff line number Diff line change 1+ # cabal clean
2+ # cabal v2-target
3+ Configuration is affected by the following files:
4+ - cabal.project
5+ Resolving dependencies...
6+ Fully qualified target forms:
7+ - a:exe:a-exe
8+ - b:exe:b-exe
Original file line number Diff line number Diff line change 1+ # cabal clean
2+ # cabal v2-target
3+ Configuration is affected by the following files:
4+ - cabal.project
5+ Resolving dependencies...
6+ Fully qualified target forms:
7+ - a:test:a-test
8+ - b:test:b-test
Original file line number Diff line number Diff line change @@ -4,5 +4,9 @@ Configuration is affected by the following files:
44- cabal.project
55Resolving dependencies...
66Fully qualified target forms:
7+ - a:exe:a-exe
78 - a:lib:a
9+ - a:lib:a-sublib
10+ - b:exe:b-exe
811 - b:lib:b
12+ - b:lib:b-sublib
Original file line number Diff line number Diff line change @@ -4,5 +4,9 @@ Configuration is affected by the following files:
44- cabal.project
55Resolving dependencies...
66Fully qualified target forms:
7+ - a:exe:a-exe
78 - a:lib:a
9+ - a:lib:a-sublib
10+ - b:exe:b-exe
811 - b:lib:b
12+ - b:lib:b-sublib
Original file line number Diff line number Diff line change @@ -8,3 +8,11 @@ main = do
88 cabalTest' " explicit-all" $ do
99 cabal " clean" []
1010 cabal " v2-target" [" all" ]
11+
12+ cabalTest' " all-exes" $ do
13+ cabal " clean" []
14+ cabal " v2-target" [" all:exes" ]
15+
16+ cabalTest' " all-tests" $ do
17+ cabal " clean" []
18+ cabal " v2-target" [" all:tests" ]
Original file line number Diff line number Diff line change 11name : a
22version : 0.1
33license : BSD3
4- cabal-version : >= 1.2
4+ cabal-version : >= 1.8
55build-type : Simple
66
77library
8- exposed-modules : Foo
9- build-depends : base
8+ library a-sublib
9+ executable a-exe
10+ test-suite a-test
11+ type : exitcode-stdio-1.0
12+ main-is : Test.hs
Original file line number Diff line number Diff line change 11name : b
22version : 0.1
33license : BSD3
4- cabal-version : >= 1.2
4+ cabal-version : >= 1.8
55build-type : Simple
66
77library
8- exposed-modules : Foo
9- build-depends : base
8+ library b-sublib
9+ executable b-exe
10+ test-suite b-test
11+ type : exitcode-stdio-1.0
12+ main-is : Test.hs
You can’t perform that action at this time.
0 commit comments