-
Notifications
You must be signed in to change notification settings - Fork 33
/
cron.cabal
123 lines (109 loc) · 3.77 KB
/
cron.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
Name: cron
Version: 0.7.2
Description:
Cron data structure and Attoparsec parser. The idea is to embed it in larger
systems which want to roll their own scheduled tasks in a format that people
are used to.
'System.Cron' is where all the interesting datatypes live. You will also find
'scheduleMatches', which you can use to compare a time against a
'CronSchedule' to see if an action needs to be performed. System.Cron.Parser
is where you will find the parsers `cronSchedule`, `crontabEntry` and
`cronTab`. To parse individual schedules up to full crontab files.
Synopsis: Cron datatypes and Attoparsec parser
Category: Text, Parsing, System
License: MIT
License-file: LICENSE
Author: Michael Xavier <[email protected]>
Copyright: Copyright: (c) 2012-2014 Michael Xavier
Maintainer: Michael Xavier <[email protected]>
Build-Type: Simple
Stability: experimental
Tested-With: GHC == 8.4.4
, GHC == 8.6.5
, GHC == 8.8.1
Cabal-Version: >= 1.10
Extra-Source-Files:
README.md
LICENSE
changelog
test/Main.hs
test/SpecHelper.hs
test/System/Test/Cron.hs
test/System/Test/Cron/Describe.hs
test/System/Test/Cron/Parser.hs
test/System/Test/Cron/Schedule.hs
Homepage: http://github.com/michaelxavier/cron
Bug-Reports: http://github.com/michaelxavier/cron/issues
flag lib-Werror
default: False
manual: True
library
Exposed-modules: System.Cron
, System.Cron.Internal.Describe.Descriptors
, System.Cron.Internal.Describe.Options
, System.Cron.Internal.Describe.Time
, System.Cron.Internal.Describe.Types
, System.Cron.Internal.Describe.Utils
, System.Cron.Internal.Check
, System.Cron.Internal.Schedule
, System.Cron.Describe
, System.Cron.Parser
, System.Cron.Schedule
, System.Cron.Types
Hs-source-dirs: src
default-language: Haskell2010
build-depends: base >= 4 && < 5
, attoparsec >= 0.10
, text >= 0.11 && < 3
, time >= 1.4
, old-locale >= 1.0
, mtl >= 2.0.1
, mtl-compat >= 0.2.1
, semigroups
, data-default
if flag(lib-Werror)
ghc-options: -Werror
ghc-options: -Wall
test-suite test
Type: exitcode-stdio-1.0
Main-Is: Main.hs
Hs-Source-Dirs: test
default-language: Haskell2010
other-modules: SpecHelper
, System.Test.Cron
, System.Test.Cron.Describe
, System.Test.Cron.Parser
, System.Test.Cron.Schedule
, System.Test.Cron.Internal.Schedule
Build-Depends: base
, cron
, tasty
, tasty-hunit
, tasty-hedgehog
, hedgehog
, attoparsec
, text
, time
, transformers-compat
, semigroups
if flag(lib-Werror)
ghc-options: -Werror
ghc-options: -Wall -O2 -threaded -rtsopts -with-rtsopts=-N
benchmark bench
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: bench
default-language: Haskell2010
build-depends:
base
, cron
, criterion
, text
, attoparsec
, time
if flag(lib-Werror)
ghc-options: -Werror
ghc-options: -Wall
source-repository head
Type: git
Location: https://github.com/michaelxavier/cron