-
-
Notifications
You must be signed in to change notification settings - Fork 28
/
dbi.asd
56 lines (55 loc) · 2.06 KB
/
dbi.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
56
(defsystem "dbi"
:version "0.11.1"
:author "Eitaro Fukamachi"
:license "BSD 2-Clause"
:depends-on ("split-sequence"
"closer-mop"
"cl-ppcre"
(:feature #1=(:or :abcl
(:and :allegro :multiprocessing)
(:and :clasp :threads)
(:and :clisp :mt)
(:and :ccl :openmcl-native-threads)
(:and :cmu :mp)
:corman
(:and :ecl :threads)
:mkcl
:lispworks
(:and :sbcl :sb-thread)
:scl)
"bordeaux-threads"))
:components ((:module "src"
:depends-on ("src/utils")
:components
((:file "dbi" :depends-on ("driver" "cache" "logger"))
(:file "driver" :depends-on ("error"))
(:module "cache"
:components
((:file "thread" :if-feature #1#)
(:file "single" :if-feature (:not #1#))))
(:file "logger")
(:file "error")))
(:file "src/utils"))
:description "Database independent interface for Common Lisp"
:in-order-to ((test-op (test-op "dbi/test"))))
(defsystem "dbi/test"
:depends-on ("dbi"
"dbi-test"
"dbd-sqlite3"
"dbd-mysql"
"dbd-postgres"
"rove"
"closer-mop"
"alexandria"
"trivial-types")
:components ((:module "tests"
:pathname "t"
:components
((:file "driver")
(:module "dbd"
:components
((:file "sqlite3")
(:file "postgres")
(:file "mysql")))
(:file "dbi"))))
:perform (test-op (op c) (symbol-call '#:rove '#:run c)))