]> Git — Sourcephile - webc.git/blob - webc.cabal
doc: update `ChangeLog.md`
[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.0.20220214
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.Data
48 Webc.Decoder
49 Webc.Encoder
50 Webc.Layouter
51
52 default-language: Haskell2010
53 default-extensions:
54 NoImplicitPrelude
55 BlockArguments
56 DataKinds
57 DefaultSignatures
58 DerivingVia
59 FlexibleContexts
60 FlexibleInstances
61 GADTs
62 ImportQualifiedPost
63 LambdaCase
64 MultiParamTypeClasses
65 NamedFieldPuns
66 OverloadedStrings
67 RecordWildCards
68 ScopedTypeVariables
69 StandaloneDeriving
70 TupleSections
71 TypeApplications
72 TypeFamilies
73 TypeOperators
74
75 ghc-options:
76 -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates
77 -fhide-source-paths
78
79 build-depends:
80 , base >=4.6 && <5
81 , containers >=0.5
82 , symantic-base >=0.3
83 , text >=1.2
84 , transformers >=0.5
85 , url-slug >=0.1
86
87 test-suite webc-tests
88 type: exitcode-stdio-1.0
89 hs-source-dirs: tests
90 main-is: Main.hs
91 other-modules:
92 Examples.E01
93 Goldens
94 HUnits
95 Paths_webc
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