#4, make sure the tests fail if there is an error
[packages/filepath.git] / filepath.cabal
1 name:           filepath
2 version:        1.3.0.3
3 -- NOTE: Don't forget to update ./changelog.md
4 license:        BSD3
5 license-file:   LICENSE
6 author:         Neil Mitchell <ndmitchell@gmail.com>
7 maintainer:     Neil Mitchell <ndmitchell@gmail.com>
8 copyright:      Neil Mitchell 2005-2014
9 bug-reports:    https://github.com/haskell/filepath/issues
10 homepage:       http://www-users.cs.york.ac.uk/~ndm/filepath/
11 category:       System
12 build-type:     Simple
13 synopsis:       Library for manipulating FilePaths in a cross platform way.
14 cabal-version:  >=1.10
15 tested-with:    GHC==7.6.3, GHC==7.6.2, GHC==7.6.1, GHC==7.4.2, GHC==7.4.1, GHC==7.2.2, GHC==7.2.1, GHC==7.0.4, GHC==7.0.3, GHC==7.0.2, GHC==7.0.1, GHC==6.12.3
16 description:
17     A library for 'FilePath' manipulations, using Posix or Windows filepaths
18     depending on the platform.
19     .
20     Both "System.FilePath.Posix" and "System.FilePath.Windows" provide
21     the same interface. See either for examples and a list of the
22     available functions.
23
24 extra-source-files:
25     System/FilePath/Internal.hs
26     README.md
27     changelog.md
28
29 library
30     default-language: Haskell98
31     other-extensions:
32         CPP
33     if impl(GHC >= 7.2)
34         other-extensions: Safe
35
36     exposed-modules:
37         System.FilePath
38         System.FilePath.Posix
39         System.FilePath.Windows
40
41     build-depends:
42         base >= 4 && < 4.9
43
44     ghc-options: -Wall
45
46 -- When run directly from the Git repo, you need to
47 -- generate the tests/FilePath_Tests.hs file via
48 --
49 --  cd tests/ && runghc ./GenTests.hs
50 test-suite filepath-tests
51     type: exitcode-stdio-1.0
52     default-language: Haskell98
53     main-is: FilePath_Test.hs
54     hs-source-dirs: tests
55     other-modules: AutoTest
56     build-depends:
57         filepath,
58         base,
59         QuickCheck == 2.6.*,
60         random     == 1.0.*
61
62 source-repository head
63     type:     git
64     location: https://github.com/haskell/filepath.git