-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathtokstyle.cabal
183 lines (175 loc) · 4.82 KB
/
tokstyle.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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
name: tokstyle
version: 0.0.9
synopsis: TokTok C code style checker
description: TokTok C code style checker
homepage: https://toktok.github.io/tokstyle
license: GPL-3
license-file: LICENSE
author: iphydf
maintainer: iphydf@users.noreply.github.com
category: Development
build-type: Simple
cabal-version: >=1.10
source-repository head
type: git
location: https://github.com/TokTok/tokstyle
library
default-language: Haskell2010
exposed-modules:
Tokstyle.C.Env
Tokstyle.C.Linter
Tokstyle.C.Linter.BoolConversion
Tokstyle.C.Linter.CallbackParams
Tokstyle.C.Linter.Cast
Tokstyle.C.Linter.Conversion
Tokstyle.C.Linter.Memset
Tokstyle.C.Linter.SizeArg
Tokstyle.C.Linter.Sizeof
Tokstyle.C.Linter.VoidCall
Tokstyle.C.Patterns
Tokstyle.C.TravUtils
Tokstyle.C.TraverseAst
Tokstyle.Common
Tokstyle.Common.EnumLinter
Tokstyle.Common.Patterns
Tokstyle.Common.StructLinter
Tokstyle.Common.TypeSystem
Tokstyle.Linter
Tokstyle.Linter.Assert
Tokstyle.Linter.BooleanReturn
Tokstyle.Linter.Booleans
Tokstyle.Linter.CallbackNames
Tokstyle.Linter.Callgraph
Tokstyle.Linter.CallocArgs
Tokstyle.Linter.CallocType
Tokstyle.Linter.CompoundInit
Tokstyle.Linter.Constness
Tokstyle.Linter.DeclaredOnce
Tokstyle.Linter.DeclsHaveDefns
Tokstyle.Linter.DocComments
Tokstyle.Linter.EnumDefines
Tokstyle.Linter.EnumNames
Tokstyle.Linter.FuncPrototypes
Tokstyle.Linter.FuncScopes
Tokstyle.Linter.GlobalFuncs
Tokstyle.Linter.LoggerCalls
Tokstyle.Linter.LoggerConst
Tokstyle.Linter.LoggerNoEscapes
Tokstyle.Linter.MallocCall
Tokstyle.Linter.MallocType
Tokstyle.Linter.MemcpyStructs
Tokstyle.Linter.MissingNonNull
Tokstyle.Linter.Nesting
Tokstyle.Linter.NonNull
Tokstyle.Linter.Parens
Tokstyle.Linter.SwitchIf
Tokstyle.Linter.TypeCheck
Tokstyle.Linter.TypedefName
Tokstyle.Linter.UnsafeFunc
Tokstyle.Linter.VarUnusedInScope
Tokstyle.SemFmt.EnumFromInt
Tokstyle.SemFmt.EnumToString
Tokstyle.SemFmt.EnumUnpack
Tokstyle.SemFmt.StructPack
ghc-options: -Wall
hs-source-dirs: src
build-depends:
aeson >=0.8.1.0 && <3
, array <0.6
, base >=4 && <5
, bytestring <0.13
, cimple >=0.0.22
, casing <0.2
, containers <0.8
, data-fix <0.4
, deepseq <2
, edit-distance <0.3
, extra <2
, filepath <2
, groom <0.2
, language-c <0.10
, microlens <0.5
, microlens-th <0.5
, mtl <3
, parallel <4
, prettyprinter >=1 && <2
, text <3
executable check-cimple
default-language: Haskell2010
hs-source-dirs: tools
ghc-options: -Wall
main-is: check-cimple.hs
build-depends:
base <5
, cimple
, parallel <4
, text
, time <2
, tokstyle
executable check-c
default-language: Haskell2010
hs-source-dirs: tools
ghc-options: -Wall
main-is: check-c.hs
build-depends:
base <5
, language-c
, monad-parallel <0.9
, tokstyle
, text
executable webservice
main-is: webservice.hs
ghc-options: -Wall
hs-source-dirs: web
default-language: Haskell2010
other-modules: Tokstyle.App
build-depends:
base >=4 && <5
, bytestring
, cimple
, servant >=0.5
, servant-server >=0.5
, text
, tokstyle
, wai <4
, wai-cors <0.3
, wai-extra <4
, warp <4
test-suite testsuite
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: test
main-is: testsuite.hs
other-modules:
Tokstyle.C.Linter.CallbackParamsSpec
Tokstyle.C.Linter.MemsetSpec
Tokstyle.C.Linter.SizeArgSpec
Tokstyle.C.Linter.SizeofSpec
Tokstyle.C.Linter.VoidCallSpec
Tokstyle.C.LinterSpec
Tokstyle.Linter.BooleanReturnSpec
Tokstyle.Linter.BooleansSpec
Tokstyle.Linter.CallgraphSpec
Tokstyle.Linter.CallocTypeSpec
Tokstyle.Linter.CompoundInitSpec
Tokstyle.Linter.ConstnessSpec
Tokstyle.Linter.EnumDefinesSpec
Tokstyle.Linter.MallocCallSpec
Tokstyle.Linter.ParensSpec
Tokstyle.Linter.SwitchIfSpec
Tokstyle.Linter.TypeCheckSpec
Tokstyle.Linter.VarUnusedInScopeSpec
Tokstyle.LinterSpec
Tokstyle.SemFmt.EnumFromIntSpec
Tokstyle.SemFmt.EnumToStringSpec
Tokstyle.SemFmt.EnumUnpackSpec
Tokstyle.SemFmt.StructPackSpec
ghc-options: -Wall -Wno-unused-imports
build-tool-depends: hspec-discover:hspec-discover
build-depends:
base <5
, cimple
, hspec <3
, language-c
, text
, tokstyle