Markdown document compiler with custom extensions for inserting code and executing scripts. Built on top of Pandoc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

edify.cabal 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. name: edify
  2. version: 0.3.0.0
  3. synopsis: Markdown (via pandoc) processing and content tools for Devalot.com
  4. license: BSD3
  5. license-file: LICENSE.md
  6. author: Peter Jones <pjones@devalot.com>
  7. maintainer: Peter Jones <pjones@devalot.com>
  8. copyright: Copyright (c) 2013-2018 Peter Jones
  9. category: Text
  10. build-type: Simple
  11. tested-with: GHC==7.6.3, GHC==7.8.3, GHC==7.10.3, GHC==8.0.2
  12. homepage: https://github.com/pjones/edify
  13. bug-reports: https://github.com/pjones/edify/issues
  14. cabal-version: >= 1.18
  15. description: TODO
  16. ------------------------------------------------------------------------------
  17. extra-source-files:
  18. README.md
  19. test/*.txt
  20. --------------------------------------------------------------------------------
  21. -- Files needed at run time.
  22. data-files:
  23. data/templates/*.tex
  24. data/images/*.pdf
  25. ------------------------------------------------------------------------------
  26. flag maintainer
  27. description: Enable settings for the package maintainer.
  28. manual: True
  29. default: False
  30. ------------------------------------------------------------------------------
  31. library
  32. exposed-modules:
  33. -- Text.Edify.Build
  34. Text.Edify.Build.FilePath
  35. Text.Edify.Build.Markdown
  36. Text.Edify.Build.Options
  37. Text.Edify.Build.Plan
  38. Text.Edify.Build.Target
  39. Text.Edify.Build.Template
  40. Text.Edify.Build.Rules
  41. Text.Edify.File.Manifest
  42. Text.Edify.File.Stitch
  43. Text.Edify.File.Time
  44. Text.Edify.Filter
  45. Text.Edify.Filter.FilterT
  46. Text.Edify.Filter.Div
  47. Text.Edify.Filter.Exec
  48. Text.Edify.Filter.Image
  49. Text.Edify.Filter.Insert
  50. Text.Edify.Filter.Options
  51. Text.Edify.Rewrite.Outline
  52. Text.Edify.Time.TimeCode
  53. Text.Edify.Time.TimeTree
  54. Text.Edify.Util.Error
  55. Text.Edify.Util.HeaderTree
  56. Text.Edify.Util.Inclusion
  57. Text.Edify.Util.Indent
  58. Text.Edify.Util.Markdown
  59. Text.Edify.Util.Narrow
  60. Text.Edify.Util.Parse
  61. other-modules:
  62. Paths_edify
  63. default-language: Haskell2010
  64. hs-source-dirs: src/lib
  65. ghc-options: -Wall -fwarn-incomplete-uni-patterns
  66. if flag(maintainer)
  67. ghc-options: -Werror
  68. build-depends: attoparsec >= 0.13 && < 0.14
  69. , base >= 4.8 && < 5.0
  70. , containers >= 0.5 && < 1.0
  71. , data-default >= 0.7 && < 0.8
  72. , directory >= 1.3 && < 1.4
  73. , fgl >= 5.5 && < 5.7
  74. , filepath >= 1.3 && < 2.0
  75. , mtl >= 2.2 && < 2.3
  76. , network-uri >= 2.5 && < 2.7
  77. , optparse-applicative >= 0.7 && < 1.0
  78. , pandoc >= 2.0 && < 2.1
  79. , pandoc-types >= 1.17 && < 2.0
  80. , parsec >= 3.1 && < 3.2
  81. , process >= 1.1 && < 2.0
  82. , semigroups >= 0.18 && < 0.19
  83. , shake >= 0.15 && < 0.17
  84. , text >= 0.11 && < 1.3
  85. ------------------------------------------------------------------------------
  86. executable edify
  87. default-language: Haskell2010
  88. hs-source-dirs: src/bin
  89. main-is: Main.hs
  90. ghc-options: -Wall -fwarn-incomplete-uni-patterns
  91. other-modules:
  92. Build
  93. Filter
  94. Outline
  95. Stitch
  96. Paths_edify
  97. if flag(maintainer)
  98. ghc-options: -Werror
  99. build-depends: base
  100. , directory
  101. , edify
  102. , filepath
  103. , optparse-applicative
  104. , pandoc
  105. , pandoc-types
  106. , shake
  107. , text
  108. , transformers >= 0.3 && < 0.6
  109. ------------------------------------------------------------------------------
  110. test-suite test
  111. type: exitcode-stdio-1.0
  112. default-language: Haskell2010
  113. hs-source-dirs: test
  114. main-is: Main.hs
  115. ghc-options: -Wall -Werror
  116. other-modules:
  117. InclusionTest
  118. ManifestTest
  119. TimeCodeTest
  120. TimeFileTest
  121. build-depends: base
  122. , containers
  123. , edify
  124. , tasty >= 0.10 && < 0.12
  125. , tasty-hunit >= 0.9 && < 0.10
  126. , text