-
Notifications
You must be signed in to change notification settings - Fork 1
/
guardian.cabal
174 lines (164 loc) · 4.28 KB
/
guardian.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
cabal-version: 2.2
-- This file has been generated from package.yaml by hpack version 0.36.0.
--
-- see: https://github.com/sol/hpack
name: guardian
version: 0.5.0.0
synopsis: The border guardian for your package dependencies
description: Guardian secures your Haskell monorepo package dependency boundary. Please read [README.md](https://github.com/deepflowinc-oss/guardian#readme) for more details.
category: Development
homepage: https://github.com/deepflowinc-oss/guardian#readme
bug-reports: https://github.com/deepflowinc-oss/guardian/issues
author: DeepFlow, Inc.
maintainer: DeepFlow, Inc.
copyright: (c) 2021-2023, DeepFlow, Inc.
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md
data-dir: data
source-repository head
type: git
location: https://github.com/deepflowinc-oss/guardian
flag cabal
description: Enables Cabal adapter
manual: True
default: True
flag stack
description: Enables Cabal adapter
manual: True
default: True
flag test-cabal-plan
description: Enables testcases for custom+cabal-plan
manual: True
default: True
flag test-graphmod
description: Enables testcases for custom+cabal-plan
manual: True
default: True
library
exposed-modules:
Development.Guardian.App
Development.Guardian.Constants
Development.Guardian.Flags
Development.Guardian.Graph
Development.Guardian.Graph.Adapter.Cabal
Development.Guardian.Graph.Adapter.Cabal.Types
Development.Guardian.Graph.Adapter.Custom
Development.Guardian.Graph.Adapter.Detection
Development.Guardian.Graph.Adapter.Stack
Development.Guardian.Graph.Adapter.Stack.Types
Development.Guardian.Graph.Adapter.Types
Development.Guardian.Types
Text.Pattern
other-modules:
Paths_guardian
autogen-modules:
Paths_guardian
hs-source-dirs:
src
ghc-options: -Wall -Wunused-packages
build-depends:
aeson
, algebraic-graphs
, base >=4.7 && <5
, bytestring-trie
, case-insensitive
, containers
, dlist
, generic-lens
, githash
, hashable
, indexed-traversable
, indexed-traversable-instances
, language-dot
, optparse-applicative
, parsec
, path
, path-io
, regex-applicative-text
, rio
, semigroups
, template-haskell
, text
, transformers
, typed-process
, unordered-containers
, validation-selective
, vector
, yaml
default-language: Haskell2010
if flag(cabal)
other-modules:
Development.Guardian.Graph.Adapter.Cabal.Enabled
cpp-options: -DENABLE_CABAL
build-depends:
Cabal
, Cabal-syntax
, cabal-install
else
other-modules:
Development.Guardian.Graph.Adapter.Cabal.Disabled
if flag(stack)
other-modules:
Development.Guardian.Graph.Adapter.Stack.Enabled
cpp-options: -DENABLE_STACK
build-depends:
Cabal
, stack >=2.9
else
other-modules:
Development.Guardian.Graph.Adapter.Stack.Disabled
executable guardian
main-is: Main.hs
other-modules:
Paths_guardian
autogen-modules:
Paths_guardian
hs-source-dirs:
app
ghc-options: -Wall -Wunused-packages
build-depends:
base >=4.7 && <5
, guardian
default-language: Haskell2010
test-suite guardian-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Development.Guardian.AppSpec
Development.Guardian.Graph.Adapter.CabalSpec
Development.Guardian.Graph.Adapter.StackSpec
Development.Guardian.Graph.Adapter.TestUtils
Development.Guardian.GraphSpec
Development.Guardian.Test.Flags
Paths_guardian
autogen-modules:
Paths_guardian
hs-source-dirs:
test
ghc-options: -Wall -Wunused-packages
build-tool-depends:
tasty-discover:tasty-discover
build-depends:
algebraic-graphs
, base >=4.7 && <5
, bytestring
, containers
, guardian
, path
, path-io
, rio
, tasty
, tasty-expected-failure
, tasty-hunit
, text
, unordered-containers
, validation-selective
default-language: Haskell2010
if flag(test-cabal-plan)
cpp-options: -DTEST_CABAL_PLAN
if flag(test-graphmod)
cpp-options: -DTEST_GRAPHMOD