]> Git — Sourcephile - webc.git/blob - webc.cabal
406b81679845fe48d87ea27bd9a2e897dbf12652
[webc.git] / webc.cabal
1 cabal-version: 3.0
2 name: webc
3 maintainer: mailto:webc@sourcephile.fr
4 bug-reports: https://mails.sourcephile.fr/inbox/webc
5 homepage: https://git.sourcephile.fr/webc.git
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: git://git.sourcephile.fr/webc.git
41
42 common boilerplate
43 default-language: Haskell2010
44 default-extensions:
45 NoImplicitPrelude
46 BlockArguments
47 DataKinds
48 DefaultSignatures
49 DerivingVia
50 FlexibleContexts
51 FlexibleInstances
52 GADTs
53 ImportQualifiedPost
54 LambdaCase
55 MultiParamTypeClasses
56 NamedFieldPuns
57 OverloadedStrings
58 RecordWildCards
59 ScopedTypeVariables
60 TupleSections
61 TypeApplications
62 TypeFamilies
63 TypeOperators
64
65 ghc-options:
66 -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates
67 -fhide-source-paths -fprint-explicit-kinds
68
69 -- -O0
70 -- -fmax-simplifier-iterations=0
71 -- -dshow-passes
72
73 common library-deps
74 hs-source-dirs: src
75 build-depends:
76 , async >=2.2
77 , base >=4.6 && <5
78 , bytestring >=0.10
79 , containers >=0.5
80 , directory >=1.3
81 , fast-logger >=3.0
82 , filepath >=1.4
83 , filepattern >=0.1
84 , lvar
85 , microlens
86 , peano
87 , reflection
88 , symantic-base >=0.3
89 , text >=1.2
90 , transformers >=0.5
91 , url-slug >=0.1
92 , wai
93 , wai-middleware-static
94 , wai-websockets
95 , warp
96 , websockets
97
98 library
99 import: boilerplate, library-deps
100 exposed-modules:
101 Webc
102 Webc.Classes
103 Webc.Encoder
104 Webc.Generator
105
106 --Webc.Decoder
107 test-suite webc-tests
108 import: boilerplate, library-deps
109 type: exitcode-stdio-1.0
110 hs-source-dirs: tests
111 main-is: Main.hs
112 other-modules:
113 Examples.Ex01
114 Examples.Ex02
115 Goldens
116 HUnits
117 Paths_webc
118 Utils
119
120 autogen-modules: Paths_webc
121 build-depends:
122 , base >=4.6 && <5
123 , containers >=0.5
124 , monad-classes
125 , relude >=0.7 && <1
126 , symantic-base >=0.5
127 , tasty >=0.11
128 , tasty-golden >=2.3
129 , tasty-hunit >=0.9
130 , text >=1.2
131 , transformers >=0.5
132 , url-slug >=0.1
133
134 --, webc