-
Notifications
You must be signed in to change notification settings - Fork 0
/
rsb-transport-socket.asd
90 lines (69 loc) · 3.74 KB
/
rsb-transport-socket.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
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
;;;; rsb-transport-socket.asd --- System containing the socket transport.
;;;;
;;;; Copyright (C) 2011-2018 Jan Moringen
;;;;
;;;; Author: Jan Moringen <[email protected]>
#.(unless (find-package '#:rsb-system)
(load (merge-pathnames "rsb.asd" *load-truename*))
(values))
(cl:in-package #:rsb-system)
(defsystem "rsb-transport-socket"
:description "Socket-based transport for RSB."
:license "LGPLv3" ; see COPYING file for details.
:author "Jan Moringen <[email protected]>"
:maintainer "Jan Moringen <[email protected]>"
:version #.(version/string)
:depends-on ((:version "usocket" "0.6.4") ; for `socket-shutdown'
"cl-protobuf"
(:version "rsb" #.(version/string :revision? t))
(:version "rsb-protocol" #.(version/string :revision? t)))
:components ((:module "socket"
:pathname "src/transport/socket"
:serial t
:components ((:file "puri-patch")
(:file "package")
(:file "protocol")
(:file "conditions")
(:file "util")
(:file "conversion")
(:file "transport")
(:file "bus-connection")
(:file "bus")
(:file "bus-client")
(:file "bus-server")
(:file "connectors")
(:file "socket-tcp")
(:file "transport-tcp")
(:file "connectors-tcp")
(:file "socket-unix"
:if-feature (:and :sbcl :linux))
(:file "transport-unix"
:if-feature (:and :sbcl :linux))
(:file "connectors-unix"
:if-feature (:and :sbcl :linux)))))
:in-order-to ((test-op (test-op "rsb-transport-socket/test"))))
(defsystem "rsb-transport-socket/test"
:description "Unit Tests for the rsb-transport-socket system."
:license "LGPLv3" ; see COPYING file for details.
:author "Jan Moringen <[email protected]>"
:maintainer "Jan Moringen <[email protected]>"
:version #.(version/string)
:depends-on ((:version "lift" "1.7.1")
(:version "rsb-transport-socket" #.(version/string))
(:version "rsb/test" #.(version/string)))
:components ((:module "socket"
:pathname "test/transport/socket"
:serial t
:components ((:file "package")
(:file "bus")
(:file "transport-tcp")
(:file "connectors-tcp")
(:file "transport-unix"
:if-feature (:and :sbcl :linux))
(:file "connectors-unix"
:if-feature (:and :sbcl :linux)))))
:perform (test-op (operation component)
(eval (read-from-string "(log:config :warn)")) ; less noise
(eval (read-from-string
"(lift:run-tests :config (lift::lift-relative-pathname
\"lift-transport-socket.config\"))"))))