-
Notifications
You must be signed in to change notification settings - Fork 34
/
cgrep.cabal
139 lines (131 loc) · 4.59 KB
/
cgrep.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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
Cabal-version: 2.2
Name: cgrep
Description: Cgrep: a context-aware grep for source codes
Version: 8.1.3
Synopsis: Command line tool
Homepage: http://awgn.github.io/cgrep/
License: GPL-2.0-or-later
License-file: LICENSE
Author: Nicola Bonelli
Maintainer: Nicola Bonelli <nicola@larthia.com>
Category: Utils
Build-type: Simple
Stability: Experimental
Extra-source-files: README.md
Common common-options
build-depends: base ^>= 4.15.0.0
ghc-options: -Wall
-Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
if impl(ghc >= 8.0)
ghc-options: -Wredundant-constraints
if impl(ghc >= 8.2)
ghc-options: -fhide-source-paths
if impl(ghc >= 8.4)
ghc-options: -Wmissing-export-lists
-Wpartial-fields
if impl(ghc >= 8.8)
ghc-options: -Wmissing-deriving-strategies
default-language: Haskell2010
Executable cgrep
Main-Is: Main.hs
Hs-Source-Dirs: src
Default-Extensions: FlexibleContexts
FlexibleInstances
GeneralisedNewtypeDeriving
DerivingStrategies
MultiWayIf
LambdaCase
OverloadedLists
OverloadedRecordDot
OverloadedStrings
PatternSynonyms
RecordWildCards
ScopedTypeVariables
TupleSections
TypeApplications
UnboxedSums
UnboxedTuples
ViewPatterns
BangPatterns
MagicHash
Other-Modules: Options
Verbose
CmdOptions
Util
Config
Reader
Search
CGrep.FileType
CGrep.FileKind
CGrep.FileTypeMap
CGrep.ContextFilter
CGrep.Types
CGrep.Output
CGrep.Distance
CGrep.Search
CGrep.Common
CGrep.Boundary
CGrep.Parser.Char
CGrep.Parser.Chunk
CGrep.Parser.Token
CGrep.Parser.Atom
CGrep.Parser.Line
CGrep.Strategy.Semantic
CGrep.Strategy.Tokenizer
CGrep.Strategy.Levenshtein
CGrep.Strategy.BoyerMoore
CGrep.Strategy.Regex
Paths_cgrep
Autogen-modules: Paths_cgrep
Build-Depends: base < 5.0,
cmdargs,
bytestring,
directory,
filepath,
stm,
containers,
vector,
array,
ghc-prim,
dlist,
ansi-terminal,
split,
safe,
stringsearch,
unordered-containers,
regex-base,
regex-posix,
regex-pcre,
either,
mtl,
unix-compat,
async,
utf8-string,
unicode-show,
transformers,
process,
aeson,
yaml,
exceptions,
mono-traversable,
bytestring-strict-builder,
bitwise,
mmap,
unagi-chan,
posix-paths,
rawfilepath,
monad-loops,
deepseq,
bitarray,
text,
extra
Ghc-options: -O2 -optc-O3
-funbox-strict-fields
-fwrite-ide-info
-hiedir=.hie
-threaded
-rtsopts "-with-rtsopts=-N -H1g -qn2"
Default-language: Haskell2010