]> Git — Sourcephile - tmp/julm/literate-invoice.git/blob - literate-business.cabal
maint/correctness(Entity): use sum type for EntityId
[tmp/julm/literate-invoice.git] / literate-business.cabal
1 cabal-version: 3.0
2 name: literate-business
3 maintainer: Julien Moutinho <julm+literate-business@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+literate-business@sourcephile.fr>
11 copyright: Julien Moutinho <julm+literate-business@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.20260201
17 stability: experimental
18 category: Literate Business
19 synopsis: Literate Business
20 description: Literate Business
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 RebindableSyntax
68
69 ghc-options:
70 -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates
71 -Wno-partial-fields -fprint-potential-instances
72 -Wno-missing-signatures -Wno-unused-do-bind
73 -Wno-partial-type-signatures
74
75 common library-deps
76 import:
77 build-depends:
78 , base >=4.10 && <5
79 , blaze-builder
80 , blaze-html
81 , blaze-markup
82 , bytestring
83 , containers
84 , country
85 , deepseq
86 , filepath
87 , monad-classes
88 , pretty-simple
89 , text >=2.1
90 , text-short
91 , time
92 , transformers
93 , validity
94
95 library
96 import: haskell, library-deps
97 hs-source-dirs: src
98 autogen-modules: Paths_literate_business
99 exposed-modules:
100 Literate.Accounting
101 Literate.Accounting.Amount
102 Literate.Accounting.Chart
103 Literate.Accounting.Flow
104 Literate.Accounting.PlanComptableGénéral
105 Literate.Accounting.PlanComptableGénéral.PCG
106 Literate.Accounting.PlanComptableGénéral.PCG2025
107 Literate.Accounting.Quantity
108 Literate.Accounting.Unit
109 Literate.Document
110 Literate.Document.HTML
111 Literate.Document.Table
112 Literate.Document.Type
113 Literate.Invoice.HTML
114 Literate.Invoice
115 Literate.Organization
116 Literate.Prelude
117 Literate.Rebindable
118 Literate.Time
119
120 other-modules: Paths_literate_business
121 build-depends: base >=4.10 && <5
122
123 test-suite literate-business-tests
124 import: haskell, library-deps
125 type: exitcode-stdio-1.0
126 hs-source-dirs: tests
127 main-is: Tests.hs
128
129 -- ExplanationNote: manual listing gives more control
130 -- especially to quickly comment-out some tests.
131 -- build-tool-depends: sydtest-discover:sydtest-discover
132 ghc-options: -threaded -rtsopts -with-rtsopts=-N
133 autogen-modules: Paths_literate_business
134 other-modules:
135 Paths_literate_business
136 Tests.Accounting
137 Tests.Invoice
138 Tests.Organization
139 Tests.Utils.Tests
140
141 build-depends:
142 , filepath
143 , genvalidity
144 , genvalidity-containers
145 , genvalidity-sydtest
146 , genvalidity-text
147 , genvalidity-time
148 , pretty-simple
149 , relude
150 , sydtest >=0.19
151 , validity
152 , validity-containers
153 , validity-text
154 , literate-business
155