summaryrefslogtreecommitdiff
path: root/texrunner.cabal
blob: 2efb4e65812a9f68349c19ef5482e79ed2d83c62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name:                texrunner
version:             0.0.1.0
synopsis:            Functions for running Tex from Haskell.
description:
  texrunner is an interface to tex that attempts to parse errors and
  can parse tex in online mode to retrive hbox sizes.
  .
  This package should be considered very experimental. Eventually I hope
  it will be good enough for general use but for now it's only suitable
  for simple things.
license:             BSD3
license-file:        LICENSE
bug-reports:         http://github.com/cchalmers/texrunner/issues
author:              Christopher Chalmers
maintainer:          c.chalmers@me.com
copyright:           2015 Christopher Chalmers
category:            System
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10
source-repository head
  type:     git
  location: http://github.com/cchalmers/texrunner

library
  exposed-modules:
    System.Texrunner
    System.Texrunner.Online
    System.Texrunner.Parse
  build-depends:
    base       >=4.6  && <4.9,
    bytestring >=0.10 && <1.0,
    filepath,
    directory  >=1.2  && <2.0,
    temporary  >=1.2  && <2.0,
    process    >=1.2  && <2.0,
    mtl        >=2.1  && <3.0,
    attoparsec >=0.10 && <1.0,
    io-streams >=1.1  && <2.0
  hs-source-dirs: src
  ghc-options:        -Wall
  default-language:    Haskell2010

test-suite tests
  type:           exitcode-stdio-1.0
  hs-source-dirs: tests
  main-is:        Tests.hs
  ghc-options:    -Wall
  default-language: Haskell2010
  other-modules:
    Tex.PDF
    Tex.LogParse

  build-depends:
    base,
    lens,
    test-framework,
    test-framework-hunit,
    HUnit,
    bytestring,
    texrunner