]> Git — Sourcephile - webc.git/blob - webc.cabal
impl: add `Applicative` instance on `Generator`
[webc.git] / webc.cabal
1 cabal-version: 3.0
2 name: webc
3 maintainer: mailto:~julm/webc@todo.code.sourcephile.fr
4 bug-reports: https://todo.code.sourcephile.fr/~julm/webc
5 homepage: https://git.code.sourcephile.fr/~julm/webc
6 author: Julien Moutinho <julm+webc@sourcephile.fr>
7 copyright: Julien Moutinho <julm+webc@sourcephile.fr>
8 license: AGPL-3.0-or-later
9 license-file: LICENSES/AGPL-3.0-or-later.txt
10
11 -- PVP: +-+------- breaking API changes
12 -- | | +----- non-breaking API additions
13 -- | | | +--- code changes with no API change
14 version: 0.0.2.20220216
15 stability: experimental
16 category: Web
17 synopsis: Haskell-website compiler
18 description:
19 An early draft for a static website generator
20 using a domain-specific language (DSL)
21 embedded into the Haskell language.
22 .
23 Alternatives:
24 .
25 * <https://hackage.haskell.org/package/ema ema>
26
27 build-type: Simple
28 tested-with: GHC ==8.10.7
29 extra-doc-files: ChangeLog.md
30 extra-source-files:
31 .envrc
32 cabal.project
33 flake.lock
34 flake.nix
35
36 extra-tmp-files:
37
38 source-repository head
39 type: git
40 location: https://git.code.sourcephile.fr/~julm/webc
41
42 library
43 hs-source-dirs: src
44 exposed-modules:
45 Webc
46 Webc.Classes
47 Webc.Decoder
48 Webc.Encoder
49 Webc.Generator
50
51 default-language: Haskell2010
52 default-extensions:
53 NoImplicitPrelude
54 BlockArguments
55 DataKinds
56 DefaultSignatures
57 DerivingVia
58 FlexibleContexts
59 FlexibleInstances
60 GADTs
61 ImportQualifiedPost
62 LambdaCase
63 MultiParamTypeClasses
64 NamedFieldPuns
65 OverloadedStrings
66 RecordWildCards
67 ScopedTypeVariables
68 StandaloneDeriving
69 TupleSections
70 TypeApplications
71 TypeFamilies
72 TypeOperators
73
74 ghc-options:
75 -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates
76 -fhide-source-paths
77
78 build-depends:
79 , base >=4.6 && <5
80 , containers >=0.5
81 , symantic-base >=0.3
82 , text >=1.2
83 , transformers >=0.5
84 , url-slug >=0.1
85
86 test-suite webc-tests
87 type: exitcode-stdio-1.0
88 hs-source-dirs: tests
89 main-is: Main.hs
90 other-modules:
91 Examples.Ex01
92 Goldens
93 HUnits
94 Paths_webc
95 Utils
96
97 autogen-modules: Paths_webc
98 default-language: Haskell2010
99 default-extensions:
100 NoImplicitPrelude
101 BlockArguments
102 DataKinds
103 FlexibleContexts
104 FlexibleInstances
105 ImportQualifiedPost
106 LambdaCase
107 MultiParamTypeClasses
108 OverloadedStrings
109 RecordWildCards
110 ScopedTypeVariables
111 TupleSections
112 TypeApplications
113 TypeFamilies
114 TypeOperators
115
116 ghc-options:
117 -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates
118 -fhide-source-paths -fprint-explicit-kinds
119
120 -- -O0
121 -- -fmax-simplifier-iterations=0
122 -- -dshow-passes
123 build-depends:
124 , base >=4.6 && <5
125 , containers >=0.5
126 , relude >=0.7 && <1
127 , symantic-base >=0.3
128 , tasty >=0.11
129 , tasty-golden >=2.3
130 , tasty-hunit >=0.9
131 , text >=1.2
132 , transformers >=0.5
133 , url-slug >=0.1
134 , webc