-
Notifications
You must be signed in to change notification settings - Fork 0
/
morgue.cabal
101 lines (95 loc) · 3.67 KB
/
morgue.cabal
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
name: morgue
version: 1.3.0.0
synopsis: markdown org replacement
description: A tool to parse markdown files in a specific format and generate agendas, todo-lists etc.
homepage: http://www.github.com/ibabushkin/morgue
license: BSD3
license-file: LICENSE
author: Inokentiy Babushkin
maintainer: inokentiy.babushkin@googlemail.com
copyright: Copyright: (c) 2015 - 2016 Inokentiy Babushkin
category: Data
build-type: Simple
extra-source-files: README.md,
templates/colored/both.mustache,
templates/colored/element.mustache,
templates/colored/subtree.mustache,
templates/colored/timed.mustache,
templates/colored/todo.mustache,
templates/colored/tree.mustache,
templates/pango/both.mustache,
templates/pango/element.mustache,
templates/pango/subtree.mustache,
templates/pango/timed.mustache,
templates/pango/todo.mustache,
templates/pango/tree.mustache,
templates/plain/both.mustache,
templates/plain/element.mustache,
templates/plain/subtree.mustache,
templates/plain/timed.mustache,
templates/plain/todo.mustache,
templates/plain/tree.mustache
cabal-version: >=1.10
flag documentation
default: False
library
hs-source-dirs: src
exposed-modules: Data.Morgue.Agenda,
Data.Morgue.Agenda.Generator,
Data.Morgue.Agenda.Render,
Data.Morgue.Agenda.Time,
Data.Morgue.Agenda.Types,
Data.Morgue.Options
--build-depends: attoparsec >= 0.13.1.0,
build-depends: aeson >= 1.0.2.1,
base >= 4.9,
cmark >= 0.5.3.1,
containers >= 0.5.7.1,
megaparsec >= 5.1,
stache >= 0.2.0,
text >= 1.2.2.1,
time >= 1.6.0.0
--ansi-terminal >= 0.6.0
ghc-options: -Wall
default-language: Haskell2010
if flag(documentation)
build-depends: hscolour >= 1.20
executable morgue-dump
hs-source-dirs: app
main-is: Dump.hs
build-depends: base >= 4.9,
cmark >= 0.5.3.1,
morgue,
text >= 1.2.2.1
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
executable morgue
hs-source-dirs: app
main-is: Main.hs
build-depends: base >= 4.9,
morgue
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
executable morgue-ical
hs-source-dirs: app
main-is: ICalImport.hs
build-depends: base >= 4.9,
megaparsec >= 5.1,
morgue,
text >= 1.2.2.1
ghc-options: -threaded -rtsopts -with-rtsopts=-N
default-language: Haskell2010
test-suite spec
default-language: Haskell2010
ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
type: exitcode-stdio-1.0
hs-source-dirs: tests
other-modules: TemplateSpec,
ToJSONSpec
main-is: Spec.hs
build-depends: base,
morgue,
stache,
hspec,
QuickCheck,
quickcheck-instances