filepath.cabal 2.1 KB
Newer Older
1
name:           filepath
2
version:        1.3.1.0
3
-- NOTE: Don't forget to update ./changelog.md
4
license:        BSD3
5
license-file:   LICENSE
Neil Mitchell's avatar
Neil Mitchell committed
6
7
author:         Neil Mitchell <ndmitchell@gmail.com>
maintainer:     Neil Mitchell <ndmitchell@gmail.com>
8
copyright:      Neil Mitchell 2005-2015
9
bug-reports:    https://github.com/haskell/filepath/issues
10
homepage:       https://github.com/haskell/filepath#readme
11
category:       System
Duncan Coutts's avatar
Duncan Coutts committed
12
build-type:     Simple
13
synopsis:       Library for manipulating FilePaths in a cross platform way.
14
cabal-version:  >=1.10
Neil Mitchell's avatar
Neil Mitchell committed
15
tested-with:    GHC==7.10.1, GHC==7.8.3, GHC==7.6.3, GHC==7.4.2, GHC==7.2.2
16
description:
Neil Mitchell's avatar
Neil Mitchell committed
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
    .
Neil Mitchell's avatar
Neil Mitchell committed
19
20
21
22
23
24
25
    * "System.FilePath.Posix" manipulates POSIX\/Linux style @FilePath@ values (with @\/@ as the path separator).
    .
    * "System.FilePath.Windows" manipulates Windows style @FilePath@ values (with either @\\@ or @\/@ as the path separator, and deals with drives).
    .
    * "System.FilePath" is an alias for the module appropriate to your platform.
    .
    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
34
35
    default-language: Haskell98
    other-extensions:
        CPP
36
    if impl(GHC >= 7.2)
37
38
        other-extensions: Safe

39
    exposed-modules:
40
41
42
        System.FilePath
        System.FilePath.Posix
        System.FilePath.Windows
43

44
    build-depends:
45
        base >= 4 && < 4.9
46

47
48
    ghc-options: -Wall

49
test-suite filepath-tests
50
51
    type: exitcode-stdio-1.0
    default-language: Haskell98
Neil Mitchell's avatar
Neil Mitchell committed
52
    main-is: Test.hs
53
    ghc-options: -main-is Test
54
    hs-source-dirs: tests
55
    other-modules:
56
        TestGen
Neil Mitchell's avatar
Neil Mitchell committed
57
        TestUtil
58
59
60
    build-depends:
        filepath,
        base,
61
        QuickCheck >= 2.7 && < 2.8
62

63
source-repository head
64
    type:     git
65
    location: https://github.com/haskell/filepath.git