ogmarkup-5.0: ogmarkup.cabal
name: ogmarkup
version: 5.0
cabal-version: >=1.10
build-type: Simple
license: MIT
license-file: LICENSE
copyright: 2016 - 2018 Ogma Project
maintainer: contact@thomasletan.fr
homepage: https://nest.pijul.com/lthms/ogmarkup
synopsis: A lightweight markup language for story writers
description:
ogmarkup is a lightweight markup language for story
writers. `ogmarkup` also refers to a haskell library that provides
a generic conversion function to transform an ogmarkup document
into a ready-to-publish document.
category: Web
author: Thomas Letan, Laurent Georget
flag bench
description: "a benchmark application"
default: False
source-repository head
type: pijul
location: https://nest.pijul.com/lthms/ogmarkup
library
exposed-modules:
Text.Ogmarkup
Text.Ogmarkup.Private.Parser
Text.Ogmarkup.Private.Ast
Text.Ogmarkup.Private.Generator
Text.Ogmarkup.Private.Typography
Text.Ogmarkup.Private.Config
build-depends:
base >=4.7 && <5,
megaparsec >=6 && <7,
mtl -any
default-language: Haskell2010
hs-source-dirs: src
test-suite ogmadown-test
type: exitcode-stdio-1.0
main-is: Spec.hs
build-depends:
base -any,
hspec -any,
hspec-megaparsec,
ogmarkup -any,
shakespeare -any,
megaparsec -any,
text -any
default-language: Haskell2010
other-modules:
ParserSpec,
GeneratorSpec,
OgmarkupSpec
hs-source-dirs: test
ghc-options: -threaded -rtsopts -with-rtsopts=-N1
benchmark ogmarkup-bench
default-language: Haskell2010
hs-source-dirs: bench
main-is: Bench.hs
ghc-options: -threaded -rtsopts -with-rtsopts=-N1
type: exitcode-stdio-1.0
if flag(bench)
build-depends: base -any
, criterion -any
, ogmarkup -any
, file-embed-poly
, text -any
buildable: True
else
buildable: False