-
Notifications
You must be signed in to change notification settings - Fork 2
/
3b-bmfont.asd
50 lines (44 loc) · 1.66 KB
/
3b-bmfont.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
(defsystem 3b-bmfont
:description "BMFont file format readers/writers"
:version "0.0.1"
:author "Bart Botta <00003b at gmail.com>"
:license "MIT"
;; currently only load text backend by default, will use others
;; if loaded
:depends-on (3b-bmfont/text)
:components ((:file "package")
(:file "bmfont"))
:in-order-to ((test-op (test-op 3b-bmfont/tests))))
(defsystem 3b-bmfont/common
:depends-on (alexandria split-sequence parse-number)
:components ((:file "package")
(:file "common")))
(defsystem 3b-bmfont/text
:description "Load/Save BMFont text format"
:depends-on (3b-bmfont/common)
:components ((:file "package")
(:file "bmfont-text")))
(defsystem 3b-bmfont/xml
:description "Load/Save BMFont xml format"
:depends-on (3b-bmfont/common cxml split-sequence flexi-streams)
:components ((:file "package")
(:file "bmfont-xml")))
(defsystem 3b-bmfont/json
:description "Load/Save BMFont-like json format"
:depends-on (3b-bmfont/common jsown)
:components ((:file "package")
(:file "bmfont-json")))
(defsystem "3b-bmfont/tests"
:depends-on ("3b-bmfont/text"
"3b-bmfont/xml"
"3b-bmfont/json"
"parachute")
:serial t
:components ((:file "test"))
:perform (test-op (op c)
(declare (ignore op c))
(unless (eql :passed
(symbol-call "PARACHUTE" "STATUS"
(symbol-call "PARACHUTE" "TEST"
'#:3b-bmfont-test)))
(error "tests failed"))))