-
Notifications
You must be signed in to change notification settings - Fork 0
/
jd-time-utils.asd
33 lines (28 loc) · 1.1 KB
/
jd-time-utils.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
(asdf:defsystem jd-time-utils
:depends-on (#:split-sequence
;; for borrowed version of cl-date-time-parser
#:bordeaux-threads ;; for locking of timezones
#:alexandria #:split-sequence
#:anaphora
#:cl-ppcre
;; local-time uses encode-universal-time
;; only at load time, so OK for times before 1900
#:local-time
;; any version of parse-float will work if it has
;; (parse-float:parse-float string)
#:parse-float)
:components
((:file "jd-time-utils-package" :depends-on ())
(:file "jd-time-utils-utils" :depends-on ("jd-time-utils-package"))
(:file "jd-time-utils-struct" :depends-on ("jd-time-utils-utils"))
;; borrowed cl-date-time-parser, modified to use our version of
;; encode-universal-time
(:file "jd-time-utils-cl-date-time-parser"
:depends-on ("jd-time-utils-utils"))
(:file "jd-time-utils-parse"
:depends-on ("jd-time-utils-cl-date-time-parser"
"jd-time-utils-utils"))))
(asdf:defsystem jd-time-utils/test
:depends-on (jd-time-utils)
:components
((:file "jd-time-utils-test")))