]> Git — Sourcephile - julm/worksheets.git/blob - worksheets.cabal
feat: Rosetta
[julm/worksheets.git] / worksheets.cabal
1 cabal-version: 3.0
2 name: worksheets
3 maintainer: Julien Moutinho <julm+worksheets@sourcephile.fr>
4 bug-reports:
5 https://radicle.sourcephile.fr/nodes/radicle-mermet.sourcephile.fr/rad:XXXXXXXXXXXXXXXXXXXXXXXXXXXXX/issues
6
7 homepage:
8 https://radicle.sourcephile.fr/nodes/radicle-mermet.sourcephile.fr/rad:XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
9
10 author: Julien Moutinho <julm+worksheets@sourcephile.fr>
11 copyright: Julien Moutinho <julm+worksheets@sourcephile.fr>
12
13 -- PVP: +-+------- breaking API changes
14 -- | | +----- non-breaking API additions
15 -- | | | +--- code changes with no API change
16 version: 0.0.0.20250603
17 stability: experimental
18 category: Worksheets
19 synopsis: Worksheets
20 description: Worksheets
21 build-type: Simple
22 tested-with: GHC ==9.6.6
23 extra-doc-files:
24 extra-tmp-files:
25 data-dir: data
26
27 source-repository head
28 type: git
29 location:
30 https://radicle-mermet.sourcephile.fr/XXXXXXXXXXXXXXXXXXXXXXXXXXXXX.git
31
32 source-repository head
33 type: rad
34 location: rad://XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
35
36 common haskell
37 default-language: Haskell2010
38 default-extensions:
39 BangPatterns
40 BlockArguments
41 DataKinds
42 DefaultSignatures
43 DeriveFunctor
44 DeriveGeneric
45 DerivingStrategies
46 DerivingVia
47 FlexibleContexts
48 FlexibleInstances
49 GADTSyntax
50 GeneralizedNewtypeDeriving
51 ImportQualifiedPost
52 LambdaCase
53 MultiParamTypeClasses
54 NamedFieldPuns
55 NoImplicitPrelude
56 OverloadedStrings
57 PartialTypeSignatures
58 PatternSynonyms
59 RecordWildCards
60 RoleAnnotations
61 ScopedTypeVariables
62 TupleSections
63 TypeApplications
64 TypeFamilies
65 TypeOperators
66 ViewPatterns
67
68 ghc-options:
69 -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates
70 -Wno-partial-fields -fprint-potential-instances
71 -Wno-missing-signatures -Wno-unused-do-bind
72 -Wno-partial-type-signatures
73
74 common library-deps
75 import:
76 build-depends:
77 , aeson >=2.1.2.1
78 , array
79 , attoparsec
80 , attoparsec-aeson
81 , base >=4.10 && <5
82 , blaze-builder
83 , blaze-html
84 , blaze-markup
85 , bytestring
86 , cassava
87 , containers
88 , filepath
89 , generic-data
90 , pretty-simple
91 , safe-decimal
92 , scientific
93 , text >=2.1
94 , text-short
95 , transformers
96 , validity
97 , vector
98
99 library
100 import: haskell, library-deps
101 hs-source-dirs: src
102 autogen-modules: Paths_worksheets
103 exposed-modules:
104 Language.Chinese
105 Utils.Char
106 Utils.HTML
107 Utils.JSON
108 Utils.Prelude
109 Utils.Probability
110 Worksheets.Writing.Rosetta
111
112 other-modules: Paths_worksheets
113 build-depends: base >=4.10 && <5
114
115 test-suite worksheets-tests
116 import: haskell, library-deps
117 type: exitcode-stdio-1.0
118 hs-source-dirs: tests
119 main-is: Spec.hs
120
121 -- ExplanationNote: manual listing gives more control
122 -- especially to quickly comment-out some tests.
123 -- build-tool-depends: sydtest-discover:sydtest-discover
124 ghc-options: -threaded -rtsopts -with-rtsopts=-N
125 autogen-modules: Paths_worksheets
126 other-modules:
127 Language.ChineseSpec
128 Paths_worksheets
129 Worksheets.Writing.RosettaSpec
130
131 build-depends:
132 , filepath
133 , genvalidity
134 , genvalidity-containers
135 , genvalidity-sydtest
136 , genvalidity-text
137 , genvalidity-time
138 , pretty-simple
139 , relude
140 , sydtest >=0.19
141 , validity
142 , validity-containers
143 , validity-text
144 , worksheets
145
146 --executable worksheets
147 -- import: haskell, library-deps
148 -- autogen-modules: Paths_worksheets
149 -- other-modules: Paths_worksheets
150 -- build-depends:
151 -- , bytestring
152 -- , filepath
153 -- , optparse-applicative
154 -- , pretty-simple
155 -- , relude
156 -- , text
157 --
158 -- hs-source-dirs: app
159 -- main-is: Main.hs