forked from agrafix/ignore
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ignore.cabal
73 lines (68 loc) · 2.38 KB
/
ignore.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: ignore
version: 0.1.1.0
synopsis: Handle ignore files of different VCSes
description: Library and tiny tool for working with ignore files of different version control systems
homepage: http://github.com/agrafix/ignore
license: BSD3
license-file: LICENSE
author: Alexander Thiemann <[email protected]>
maintainer: Alexander Thiemann <[email protected]>
copyright: (c) 2015 Alexander Thiemann
category: System
build-type: Simple
extra-source-files: README.md
cabal-version: >=1.10
flag without-pcre
manual: True
default: False
description: Disable pcre support. If you enable this flag, version control ignore files that rely on pcre will not work correctly
library
hs-source-dirs: src
exposed-modules:
Ignore
other-modules:
Ignore.Types
Ignore.Core
Ignore.Builder
Ignore.VCS.Git
Ignore.VCS.Mercurial
Ignore.VCS.Darcs
build-depends:
base >= 4.8 && < 5,
path >= 0.5.1,
Glob >=0.7,
text >=1.2.0.4,
mtl >=2.1.3.1,
directory >= 1.2.1.0
if !flag(without-pcre)
build-depends: pcre-heavy >=0.2
else
cpp-options: -DNO_PCRE
default-language: Haskell2010
executable ignore
hs-source-dirs: app
main-is: Main.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base,
ignore,
path >= 0.5.1,
directory >= 1.2.1.0
default-language: Haskell2010
test-suite ignore-test
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules:
Ignore.VCS.GitSpec
Ignore.VCS.MercurialSpec
build-depends:
base,
ignore,
text >=1.2.0.4,
HTF >=0.12.1
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
source-repository head
type: git
location: https://github.com/agrafix/ignore