-
Notifications
You must be signed in to change notification settings - Fork 14
/
chronicity.asd
55 lines (50 loc) · 1.92 KB
/
chronicity.asd
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
;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
;;; chronicity.asd
;;; See the LICENSE file for licensing information.
(cl:defpackage #:chronicity-system
(:use #:cl #:asdf))
(cl:in-package #:chronicity-system)
(defsystem #:chronicity
:description "A natural language date and time parser for Common Lisp"
:version "0.4.1"
:author "Chaitanya Gupta"
:maintainer "Chaitanya Gupta"
:license "BSD"
:depends-on (:cl-ppcre :cl-interpol :local-time)
:components
((:module src
:serial t
:components
((:file "packages")
(:file "utils")
(:file "datetime")
(:file "numerize")
(:file "chronicity")
(:file "repeater")
(:module repeaters
:components
((:file "repeater-year")
;; (:file "repeater-season")
;; (:file "repeater-season-name")
(:file "repeater-month")
(:file "repeater-month-name")
(:file "repeater-fortnight")
(:file "repeater-week")
(:file "repeater-weekend")
(:file "repeater-day")
(:file "repeater-day-name")
(:file "repeater-day-portion")
(:file "repeater-hour")
(:file "repeater-minute")
(:file "repeater-second")
(:file "repeater-time")))
(:file "grabber")
(:file "pointer")
(:file "scalar")
(:file "ordinal")
(:file "separator")
(:file "handlers")
(:file "handler-defs")))))
(defmethod perform ((o test-op) (c (eql (find-system :chronicity))))
(operate 'load-op :chronicity-test)
(funcall (intern (symbol-name :run-suite) :chronicity-test)))