-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprotofmt.cabal
97 lines (83 loc) · 2.15 KB
/
protofmt.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
cabal-version: 3.6
name: protofmt
version: 0.1.0.0
-- A short (one-line) description of the package.
synopsis: Formatter for protocol buffer files
-- A longer description of the package.
-- description:
-- A URL where users can report bugs.
bug-reports: https://github.com/pabloariasal/protofmt
license: BSD-2-Clause
license-file: LICENSE
author: Pablo Arias
-- An email address to which users can send suggestions, bug reports, and patches.
maintainer: [email protected]
-- A copyright notice.
-- copyright:
-- category:
extra-source-files: CHANGELOG.md
library
exposed-modules:
ProtoFmt
Parsing
Ast
Formatting
-- Modules included in this library but not exported.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
default-extensions:
DuplicateRecordFields
OverloadedStrings
DisambiguateRecordFields
LambdaCase
RecordWildCards
build-depends:
base ^>=4.14.3.0,
megaparsec,
text,
mtl,
prettyprinter,
sort
hs-source-dirs: src
default-language: Haskell2010
executable protofmt
main-is: Main.hs
-- Modules included in this executable, other than Main.
-- other-modules:
-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
build-depends:
base ^>=4.14.3.0,
protofmt
hs-source-dirs: app
default-language: Haskell2010
test-suite unit
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs:
test/unit
other-modules:
ParsingSpec
FormattingSpec
main-is:
Spec.hs
default-extensions:
OverloadedStrings
build-depends:
base ^>=4.14.3.0,
protofmt,
hspec,
text
test-suite integration
default-language: Haskell2010
type: exitcode-stdio-1.0
hs-source-dirs:
test/integration
main-is:
Spec.hs
build-depends:
base ^>=4.14.3.0,
protofmt,
hspec,
text