summaryrefslogtreecommitdiff
path: root/fountainhead.cabal
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2023-11-11 10:57:43 +0100
committerEugen Wissner <belka@caraus.de>2023-11-11 10:57:43 +0100
commit1d4efb44bba9dc3dec416399554c3965f3dd628f (patch)
tree1f0cc1012d666a1ca5305ab6309219dc4d2224e8 /fountainhead.cabal
parent16f9dc70d181ba419ca1b9c02e8c367cafac3268 (diff)
downloadfountainhead-1d4efb44bba9dc3dec416399554c3965f3dd628f.tar.gz
Move ttf dumper to a module
Diffstat (limited to 'fountainhead.cabal')
-rw-r--r--fountainhead.cabal11
1 files changed, 7 insertions, 4 deletions
diff --git a/fountainhead.cabal b/fountainhead.cabal
index ce06a61..2e1427c 100644
--- a/fountainhead.cabal
+++ b/fountainhead.cabal
@@ -19,8 +19,14 @@ extra-source-files:
CHANGELOG.md
README.txt
+common dependencies
+ build-depends:
+ text ^>= 2.0
+
library
+ import: dependencies
exposed-modules:
+ Graphics.Fountainhead.Dumper
Graphics.Fountainhead.Parser
Graphics.Fountainhead.PDF
Graphics.Fountainhead.Type
@@ -37,15 +43,13 @@ library
vector ^>= 0.13.0
executable fountainhead
+ import: dependencies
main-is: Main.hs
default-extensions:
- OverloadedStrings
NamedFieldPuns
- DataKinds
DuplicateRecordFields
ExplicitForAll
- TypeApplications
build-depends:
base,
bytestring,
@@ -53,7 +57,6 @@ executable fountainhead
parser-combinators,
vector,
transformers,
- text,
time,
megaparsec,
fountainhead