Move ttf dumper to a module

This commit is contained in:
2023-11-11 10:57:43 +01:00
parent 16f9dc70d1
commit 1d4efb44bb
5 changed files with 122 additions and 44 deletions

View File

@@ -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