Skip to content

Commit 3012134

Browse files
committed
Test case for haskell#4986
Signed-off-by: Edward Z. Yang <[email protected]>
1 parent 2e449f4 commit 3012134

File tree

6 files changed

+32
-0
lines changed

6 files changed

+32
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
packages: client, happy
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import Test.Cabal.Prelude
2+
main = cabalTest $ do
3+
cabal "new-configure" []
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
main = return ()
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: client
2+
version: 0.1.0.0
3+
synopsis: Checks build-tools are put in PATH
4+
license: BSD3
5+
category: Testing
6+
build-type: Simple
7+
cabal-version: >=1.10
8+
9+
executable hello-world
10+
main-is: Hello.hs
11+
build-depends: base
12+
build-tools: happy
13+
build-tool-depends: happy:happy
14+
default-language: Haskell2010
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
main = return ()
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: happy
2+
version: 999.999.999
3+
synopsis: Checks double-dependency on build-tool works correctly
4+
license: BSD3
5+
category: Testing
6+
build-type: Simple
7+
cabal-version: >=1.10
8+
9+
executable happy
10+
main-is: Main.hs
11+
build-depends: base
12+
default-language: Haskell2010

0 commit comments

Comments
 (0)