cabal-testsuite.cabal 1.59 KB
Newer Older
1
2
name:          cabal-testsuite
version:       1.25.0.0
Mikhail Glushenkov's avatar
Mikhail Glushenkov committed
3
copyright:     2003-2017, Cabal Development Team (see AUTHORS file)
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
license:       BSD3
license-file:  LICENSE
author:        Cabal Development Team <cabal-devel@haskell.org>
maintainer:    cabal-devel@haskell.org
homepage:      http://www.haskell.org/cabal/
bug-reports:   https://github.com/haskell/cabal/issues
synopsis:      Test suite for Cabal and cabal-install
description:
  This package defines a shared test suite for Cabal and cabal-install.
category:       Distribution
cabal-version:  >=1.10
build-type:     Custom

extra-source-files:
  README.md

source-repository head
  type:     git
  location: https://github.com/haskell/cabal/
  subdir:   cabal-testsuite

25
26
27
28
29
library
  exposed-modules:
    Test.Cabal.Workdir
    Test.Cabal.Script
    Test.Cabal.Run
30
    Test.Cabal.Plan
31
32
33
    Test.Cabal.Prelude
    Test.Cabal.Server
    Test.Cabal.Monad
34
  build-depends:
35
36
    aeson,
    attoparsec,
37
    async,
38
    base,
39
    bytestring,
40
    transformers,
41
    optparse-applicative,
42
43
44
45
    process,
    directory,
    filepath,
    regex-posix,
46
    text,
47
48
    Cabal >= 1.25
  ghc-options: -Wall -fwarn-tabs
49
50
  if !os(windows)
    build-depends: unix, exceptions
51
52
  else
    build-depends: Win32
53
  default-language: Haskell2010
54

55
executable cabal-tests
56
57
58
59
60
61
62
63
64
65
66
67
  main-is: cabal-tests.hs
  hs-source-dirs: main
  ghc-options: -threaded -Wall -fwarn-tabs
  build-depends:
    async,
    base,
    Cabal >= 1.25,
    clock,
    filepath,
    process,
    optparse-applicative,
    cabal-testsuite
68
  default-language: Haskell2010
69
70
71
72

custom-setup
  setup-depends: Cabal >= 1.25,
                 base