name:                unlit
version:             0.3.2.0
synopsis:            Tool to convert literate code between styles or to code.
description:         Tool to convert literate code between styles or to code.
                     Usage:
                     .
                     > unlit
                     >   -f STYLE_NAME  --from=STYLE_NAME    Source style (all, bird, haskell, latex, markdown, tildefence, backtickfence)
                     >   -t STYLE_NAME  --to=STYLE_NAME      Target style (bird, latex, tildefence, backtickfence, code)
                     >   -i FILE        --input=FILE         Input file (optional)
                     >   -o FILE        --output=FILE        Output file (optional)
                     >   -l LANGUAGE    --language=LANGUAGE  Programming language (restrict fenced code blocks)
                     >   -h             --help               Show help
                     >   -v             --version            Show version
                     .

license:             BSD3
license-file:        LICENSE
author:              Pepijn Kokke
maintainer:          pepijn.kokke@gmail.com
copyright:           2014 (c) Pepijn Kokke
category:            Language
build-type:          Simple
cabal-version:       >=1.10

source-repository head
  type:     git
  location: https://github.com/pepijnkokke/unlit

library
  exposed-modules:     Unlit.Text, Unlit.String
  hs-source-dirs:      src
  other-extensions:    OverloadedStrings
  ghc-options:         -fwarn-incomplete-patterns
  build-depends:       base >= 4 && < 5, directory, text
  default-language:    Haskell2010
  

executable unlit
  main-is:             Main.hs
  hs-source-dirs:      src
  other-modules:       Unlit.Text
  other-extensions:    OverloadedStrings
  ghc-options:         -fwarn-incomplete-patterns
  build-depends:       base >= 4 && < 5, directory, text
  default-language:    Haskell2010