Merge branch 'isValid' of https://github.com/thomie/filepath into thomie-isValid
[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:       https://github.com/haskell/filepath#readme
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     This package provides functionality for manipulating @FilePath@ values, and is shipped with both <https://www.haskell.org/ghc/ GHC> and the <https://www.haskell.org/platform/ Haskell Platform>. It provides three modules:
18     .
19     * "System.FilePath.Posix" manipulates POSIX\/Linux style @FilePath@ values (with @\/@ as the path separator).
20     .
21     * "System.FilePath.Windows" manipulates Windows style @FilePath@ values (with either @\\@ or @\/@ as the path separator, and deals with drives).
22     .
23     * "System.FilePath" is an alias for the module appropriate to your platform.
24     .
25     All three modules provide the same API, and the same documentation (calling out differences in the different variants).
26
27 extra-source-files:
28     System/FilePath/Internal.hs
29     README.md
30     changelog.md
31
32 library
33     default-language: Haskell98
34     other-extensions:
35         CPP
36     if impl(GHC >= 7.2)
37         other-extensions: Safe
38
39     exposed-modules:
40         System.FilePath
41         System.FilePath.Posix
42         System.FilePath.Windows
43
44     build-depends:
45         base >= 4 && < 4.9
46
47     ghc-options: -Wall
48
49 -- When run directly from the Git repo, you need to
50 -- generate the tests/FilePath_Tests.hs file via
51 --
52 --  cd tests/ && runghc ./GenTests.hs
53 test-suite filepath-tests
54     type: exitcode-stdio-1.0
55     default-language: Haskell98
56     main-is: FilePath_Test.hs
57     hs-source-dirs: tests
58     other-modules: AutoTest
59     build-depends:
60         filepath,
61         base,
62         QuickCheck > 2.6 && < 2.8,
63         random     == 1.0.*
64
65 source-repository head
66     type:     git
67     location: https://github.com/haskell/filepath.git