]> Git — Sourcephile - haskell/symantic-document.git/blob - symantic-formatter.cabal
build: fix target `upload`
[haskell/symantic-document.git] / symantic-formatter.cabal
1 cabal-version: 3.0
2 name: symantic-formatter
3 maintainer: mailto:~julm/symantic-formatter@todo.code.sourcephile.fr
4 bug-reports: https://todo.code.sourcephile.fr/~julm/symantic-formatter
5 homepage: https://git.code.sourcephile.fr/~julm/symantic-formatter
6 author: Julien Moutinho <julm+symantic-formatter@sourcephile.fr>
7 copyright: Julien Moutinho <julm+symantic-formatter@sourcephile.fr>
8 license: AGPL-3.0-or-later
9 license-file: LICENSES/AGPL-3.0-or-later.txt
10 -- PVP: +-+------- breaking API changes
11 -- | | +----- non-breaking API additions
12 -- | | | +--- code changes with no API change
13 version: 2.0.0.20211020
14 stability: experimental
15 category: Text
16 synopsis: Symantics combinators to output formatted data.
17 description:
18 Only a plain text formatter is implemented for now,
19 those can however include ANSI escape sequences to use a 16 colors pallet.
20 .
21 Alternative: <ansi-wl-pprint https://hackage.haskell.org/package/ansi-wl-pprint>.
22 build-type: Simple
23 tested-with: GHC==8.10.4
24 extra-doc-files:
25 ChangeLog.md
26 extra-source-files:
27 cabal.project
28 default.nix
29 .envrc
30 flake.lock
31 flake.nix
32 shell.nix
33 extra-tmp-files:
34
35 source-repository head
36 type: git
37 location: https://git.code.sourcephile.fr/~julm/symantic-formatter
38
39 library
40 hs-source-dirs: src
41 exposed-modules:
42 Symantic.Formatter
43 Symantic.Formatter.Class
44 Symantic.Formatter.Debug
45 Symantic.Formatter.Output
46 Symantic.Formatter.Plain
47 default-language: Haskell2010
48 default-extensions:
49 DataKinds
50 DefaultSignatures
51 FlexibleContexts
52 FlexibleInstances
53 LambdaCase
54 MultiParamTypeClasses
55 NamedFieldPuns
56 NoImplicitPrelude
57 OverloadedStrings
58 RecordWildCards
59 ScopedTypeVariables
60 StandaloneDeriving
61 TupleSections
62 TypeApplications
63 TypeFamilies
64 TypeOperators
65 ghc-options:
66 -Wall
67 -Wincomplete-uni-patterns
68 -Wincomplete-record-updates
69 -fhide-source-paths
70 build-depends:
71 ansi-terminal >= 0.7,
72 base >= 4.6 && < 5,
73 symantic-base >= 0.3,
74 text >= 1.2,
75 transformers >= 0.5
76
77 test-suite symantic-formatter-tests
78 type: exitcode-stdio-1.0
79 hs-source-dirs: tests
80 main-is: Main.hs
81 other-modules:
82 HUnit
83 Golden
84 Paths_symantic_formatter
85 autogen-modules:
86 Paths_symantic_formatter
87 default-language: Haskell2010
88 default-extensions:
89 DataKinds
90 FlexibleContexts
91 FlexibleInstances
92 LambdaCase
93 MultiParamTypeClasses
94 NoImplicitPrelude
95 NoMonomorphismRestriction
96 OverloadedStrings
97 RecordWildCards
98 ScopedTypeVariables
99 TupleSections
100 TypeApplications
101 TypeFamilies
102 TypeOperators
103 ghc-options:
104 -Wall
105 -Wincomplete-uni-patterns
106 -Wincomplete-record-updates
107 -fhide-source-paths
108 -fprint-explicit-kinds
109 -- -O0
110 -- -fmax-simplifier-iterations=0
111 -- -dshow-passes
112 build-depends:
113 symantic-formatter,
114 symantic-base >= 0.3,
115 base >= 4.6 && < 5,
116 containers >= 0.5,
117 tasty >= 0.11,
118 tasty-golden >= 2.3,
119 tasty-hunit >= 0.9,
120 text >= 1.2,
121 transformers >= 0.5