1Cabal-Version:          2.2
2Name:                   hie-bios
3Version:                0.7.5
4Author:                 Matthew Pickering <matthewtpickering@gmail.com>
5Maintainer:             Matthew Pickering <matthewtpickering@gmail.com>
6License:                BSD-3-Clause
7License-File:           LICENSE
8Homepage:               https://github.com/mpickering/hie-bios
9Synopsis:               Set up a GHC API session
10Description:            Set up a GHC API session and obtain flags required to compile a source file
11
12Category:               Development
13Build-Type:             Simple
14-- No glob syntax until GHC 8.6 because of stack
15Extra-Source-Files:     ChangeLog.md
16                        README.md
17                        wrappers/cabal
18                        wrappers/cabal.hs
19                        tests/configs/*.yaml
20                        tests/projects/symlink-test/a/A.hs
21                        tests/projects/symlink-test/hie.yaml
22                        tests/projects/deps-bios-new/A.hs
23                        tests/projects/deps-bios-new/B.hs
24                        tests/projects/deps-bios-new/hie-bios.sh
25                        tests/projects/deps-bios-new/hie.yaml
26                        tests/projects/multi-direct/A.hs
27                        tests/projects/multi-direct/B.hs
28                        tests/projects/multi-direct/hie.yaml
29                        tests/projects/multi-cabal/app/Main.hs
30                        tests/projects/multi-cabal/cabal.project
31                        tests/projects/multi-cabal/hie.yaml
32                        tests/projects/multi-cabal/multi-cabal.cabal
33                        tests/projects/multi-cabal/src/Lib.hs
34                        tests/projects/monorepo-cabal/cabal.project
35                        tests/projects/monorepo-cabal/hie.yaml
36                        tests/projects/monorepo-cabal/A/Main.hs
37                        tests/projects/monorepo-cabal/A/A.cabal
38                        tests/projects/monorepo-cabal/B/MyLib.hs
39                        tests/projects/monorepo-cabal/B/B.cabal
40                        tests/projects/multi-stack/app/Main.hs
41                        tests/projects/multi-stack/cabal.project
42                        tests/projects/multi-stack/hie.yaml
43                        tests/projects/multi-stack/multi-stack.cabal
44                        tests/projects/multi-stack/src/Lib.hs
45                        tests/projects/failing-bios/A.hs
46                        tests/projects/failing-bios/B.hs
47                        tests/projects/failing-bios/hie.yaml
48                        tests/projects/failing-bios-ghc/A.hs
49                        tests/projects/failing-bios-ghc/B.hs
50                        tests/projects/failing-bios-ghc/hie.yaml
51                        tests/projects/failing-cabal/failing-cabal.cabal
52                        tests/projects/failing-cabal/hie.yaml
53                        tests/projects/failing-cabal/MyLib.hs
54                        tests/projects/failing-stack/failing-stack.cabal
55                        tests/projects/failing-stack/hie.yaml
56                        tests/projects/failing-stack/src/Lib.hs
57                        tests/projects/nested-cabal/nested-cabal.cabal
58                        tests/projects/nested-cabal/cabal.project
59                        tests/projects/nested-cabal/hie.yaml
60                        tests/projects/nested-cabal/MyLib.hs
61                        tests/projects/nested-cabal/sub-comp/sub-comp.cabal
62                        tests/projects/nested-cabal/sub-comp/Lib.hs
63                        tests/projects/nested-stack/nested-stack.cabal
64                        tests/projects/nested-stack/hie.yaml
65                        tests/projects/nested-stack/MyLib.hs
66                        tests/projects/nested-stack/sub-comp/sub-comp.cabal
67                        tests/projects/nested-stack/sub-comp/Lib.hs
68                        tests/projects/simple-bios/A.hs
69                        tests/projects/simple-bios/B.hs
70                        tests/projects/simple-bios/hie-bios.sh
71                        tests/projects/simple-bios/hie-bios-deps.sh
72                        tests/projects/simple-bios/hie.yaml
73                        tests/projects/simple-bios-ghc/A.hs
74                        tests/projects/simple-bios-ghc/B.hs
75                        tests/projects/simple-bios-ghc/hie-bios.sh
76                        tests/projects/simple-bios-ghc/hie.yaml
77                        tests/projects/simple-bios-shell/A.hs
78                        tests/projects/simple-bios-shell/B.hs
79                        tests/projects/simple-bios-shell/hie.yaml
80                        tests/projects/simple-cabal/A.hs
81                        tests/projects/simple-cabal/B.hs
82                        tests/projects/simple-cabal/cabal.project
83                        tests/projects/simple-cabal/hie.yaml
84                        tests/projects/simple-cabal/simple-cabal.cabal
85                        tests/projects/simple-direct/A.hs
86                        tests/projects/simple-direct/B.hs
87                        tests/projects/simple-direct/hie.yaml
88                        tests/projects/simple-stack/A.hs
89                        tests/projects/simple-stack/B.hs
90                        tests/projects/simple-stack/cabal.project
91                        tests/projects/simple-stack/hie.yaml
92                        tests/projects/simple-stack/simple-stack.cabal
93                        "tests/projects/space stack/A.hs"
94                        "tests/projects/space stack/B.hs"
95                        "tests/projects/space stack/hie.yaml"
96                        "tests/projects/space stack/stackproj.cabal"
97                        tests/projects/implicit-cabal/cabal.project
98                        tests/projects/implicit-cabal/implicit-cabal.cabal
99                        tests/projects/implicit-cabal/Main.hs
100                        tests/projects/implicit-cabal-no-project/implicit-cabal-no-project.cabal
101                        tests/projects/implicit-cabal-no-project/Main.hs
102                        tests/projects/implicit-cabal-deep-project/README
103                        tests/projects/implicit-cabal-deep-project/implicit-cabal-deep-project.cabal
104                        tests/projects/implicit-cabal-deep-project/Main.hs
105                        tests/projects/implicit-cabal-deep-project/cabal.project
106                        tests/projects/implicit-cabal-deep-project/foo/foo.cabal
107                        tests/projects/implicit-cabal-deep-project/foo/Main.hs
108                        tests/projects/implicit-stack/implicit-stack.cabal
109                        tests/projects/implicit-stack/Main.hs
110                        tests/projects/implicit-stack-multi/implicit-stack-multi.cabal
111                        tests/projects/implicit-stack-multi/Main.hs
112                        tests/projects/implicit-stack-multi/other-package/other-package.cabal
113                        tests/projects/implicit-stack-multi/other-package/Main.hs
114                        tests/projects/multi-stack-with-yaml/appA/appA.cabal
115                        tests/projects/multi-stack-with-yaml/appA/src/Lib.hs
116                        tests/projects/multi-stack-with-yaml/appB/appB.cabal
117                        tests/projects/multi-stack-with-yaml/appB/src/Lib.hs
118                        tests/projects/multi-stack-with-yaml/hie.yaml
119                        tests/projects/stack-with-yaml/app/Main.hs
120                        tests/projects/stack-with-yaml/hie.yaml
121                        tests/projects/stack-with-yaml/stack-with-yaml.cabal
122                        tests/projects/stack-with-yaml/src/Lib.hs
123
124tested-with: GHC==8.10.1, GHC==8.8.3, GHC==8.6.5, GHC==8.4.4
125
126Library
127  Default-Language:     Haskell2010
128  GHC-Options:          -Wall
129  HS-Source-Dirs:       src
130  Exposed-Modules:      HIE.Bios
131                        HIE.Bios.Config
132                        HIE.Bios.Cradle
133                        HIE.Bios.Environment
134                        HIE.Bios.Internal.Debug
135                        HIE.Bios.Flags
136                        HIE.Bios.Types
137                        HIE.Bios.Internal.Log
138                        HIE.Bios.Ghc.Api
139                        HIE.Bios.Ghc.Check
140                        HIE.Bios.Ghc.Doc
141                        HIE.Bios.Ghc.Gap
142                        HIE.Bios.Ghc.Load
143                        HIE.Bios.Ghc.Logger
144                        HIE.Bios.Wrappers
145  Other-Modules:        Paths_hie_bios
146  autogen-modules:      Paths_hie_bios
147  Build-Depends:
148                        base                 >= 4.8 && < 5,
149                        aeson                >= 1.4.5 && < 2,
150                        base16-bytestring    >= 0.1.1 && < 1.1,
151                        bytestring           >= 0.10.8 && < 0.12,
152                        deepseq              >= 1.4.3 && < 1.5,
153                        containers           >= 0.5.10 && < 0.7,
154                        cryptohash-sha1      >= 0.11.100 && < 0.12,
155                        directory            >= 1.3.0 && < 1.4,
156                        filepath             >= 1.4.1 && < 1.5,
157                        time                 >= 1.8.0 && < 1.12,
158                        extra                >= 1.6.14 && < 1.8,
159                        process              >= 1.6.1 && < 1.7,
160                        ghc                  >= 8.4.1 && < 8.11,
161                        transformers         >= 0.5.2 && < 0.6,
162                        temporary            >= 1.2 && < 1.4,
163                        text                 >= 1.2.3 && < 1.3,
164                        unix-compat          >= 0.5.1 && < 0.6,
165                        unordered-containers >= 0.2.9 && < 0.3,
166                        vector               >= 0.12.0 && < 0.13,
167                        yaml                 >= 0.10.0 && < 0.12,
168                        hslogger             >= 1.2 && < 1.4,
169                        file-embed           >= 0.0.11 && < 1,
170                        conduit              >= 1.3 && < 2,
171                        conduit-extra        >= 1.3 && < 2
172
173
174Executable hie-bios
175  Default-Language:     Haskell2010
176  Main-Is:              Main.hs
177  Other-Modules:        Paths_hie_bios
178  GHC-Options:          -Wall
179  HS-Source-Dirs:       exe
180  Build-Depends:        base >= 4.9 && < 5
181                      , directory
182                      , filepath
183                      , ghc
184                      , hie-bios
185                      , optparse-applicative
186
187test-suite parser-tests
188  type: exitcode-stdio-1.0
189  default-language: Haskell2010
190  build-depends:
191      base,
192      filepath,
193      hie-bios,
194      hspec-expectations,
195      tasty,
196      tasty-hunit,
197      text,
198      unordered-containers,
199      yaml
200
201  hs-source-dirs: tests/
202  ghc-options: -threaded -Wall
203  main-is: ParserTests.hs
204
205test-suite bios-tests
206  type: exitcode-stdio-1.0
207  default-language: Haskell2010
208  build-depends:
209      base,
210      extra,
211      tasty,
212      tasty-hunit,
213      tasty-expected-failure,
214      hspec-expectations,
215      hie-bios,
216      filepath,
217      directory,
218      temporary,
219      ghc
220
221  hs-source-dirs: tests/
222  ghc-options: -threaded -Wall
223  main-is: BiosTests.hs
224
225Source-Repository head
226  Type:                 git
227  Location:             git://github.com/mpickering/hie-bios.git
228