Improve readme
This commit is contained in:
parent
ab6300eede
commit
7a3868db2b
17
README.md
17
README.md
@ -1,4 +1,8 @@
|
|||||||
# haskell-cron-matcher
|
# Haskell cron matcher
|
||||||
|
|
||||||
|
Made just for fun and test haskell.
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
|
||||||
Match current time with given cron pattern.
|
Match current time with given cron pattern.
|
||||||
|
|
||||||
@ -9,3 +13,14 @@ See return code for result:
|
|||||||
* 0 - matched
|
* 0 - matched
|
||||||
* 1 - dismatched
|
* 1 - dismatched
|
||||||
* 2 - pattern parse error
|
* 2 - pattern parse error
|
||||||
|
|
||||||
|
## Build
|
||||||
|
|
||||||
|
You can use docker for build Stack and application:
|
||||||
|
|
||||||
|
$ make build-docker
|
||||||
|
$ make build
|
||||||
|
|
||||||
|
## Tests
|
||||||
|
|
||||||
|
$ make test
|
||||||
|
Loading…
Reference in New Issue
Block a user