-
Notifications
You must be signed in to change notification settings - Fork 4
/
dufy.asd
108 lines (100 loc) · 3.39 KB
/
dufy.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
;;;; -*- Mode: Lisp;-*-
(defsystem "dufy"
:version "0.4.1"
:description "Color library for Common Lisp"
:author "Hugo I."
:license "MIT"
:depends-on ("dufy/core" "dufy/munsell" "dufy/hsluv")
:components ((:module "dat"
:components ((:static-file "ciede2000-test-data.csv")
(:static-file "FL3.x.tsv")))
(:module "src"
:components ((:file "package"))))
:in-order-to ((test-op (test-op "dufy/test"))))
(defsystem "dufy/internal"
:description "Common definitions not exported in the main package"
:pathname "src"
:serial t
:depends-on ("alexandria")
:components ((:module "internal"
:components
((:file "package")
(:file "utilities")
(:file "arithmetic")
(:file "matrix")
(:file "colorspace")
(:file "mb-line")))))
(defsystem "dufy/core"
:pathname "src"
:serial t
:depends-on ("alexandria" "dufy/internal")
:components ((:module "core"
:components
((:file "package")
(:file "cmf-data")
(:file "spectrum")
(:file "illuminants-data")
(:file "xyz")
(:file "rgb")
(:file "lab-and-luv")
(:file "cat")
(:file "builtin-rgbspaces")
(:file "deltae")))))
(defsystem "dufy/hsluv"
:description "HSLuv and HPLuv color spaces"
:pathname "src"
:serial t
:depends-on ("dufy/core")
:components ((:module "hsluv"
:components
((:file "package")
(:file "hsluv")))))
(defsystem "dufy/munsell"
:description "Munsell Color System"
:pathname "src"
:serial t
:depends-on ("dufy/core" "cl-ppcre")
:components ((:module "munsell"
:components
((:file "package")
(:file "y-to-value-data")
(:file "renotation-data")
(:file "inversed-renotation-data")
(:file "fundamental")
(:file "convert")
(:file "invert")))))
(defsystem "dufy/extra-data"
:pathname "src"
:serial t
:depends-on ("dufy/core")
:components ((:module "extra-data"
:components
((:file "package")
(:file "illuminants")
(:file "illuminants-f3-series")
(:file "illuminants-lamps")))))
(defsystem "dufy/examples"
:pathname "src"
:serial t
:depends-on ("dufy" "lispbuilder-sdl" "iterate" "alexandria" "lparallel")
:components ((:module "examples"
:components ((:file "package")
(:file "visualize-munsell")))))
(defsystem "dufy/test"
:pathname "test"
:serial t
:depends-on ("dufy"
"fiveam"
"cl-csv"
"parse-float"
;; There's no specific test for dufy/extra-data and dufy/examples;
;; the following is just for checking if load-op succeeds.
"dufy/extra-data"
;; (:feature (:and (:or :sbcl :ccl) :x86-64) "dufy/examples")
)
:components ((:file "package")
(:file "core")
(:file "hsluv")
(:file "munsell"))
:perform (test-op (o s)
(uiop:eval-input "(fiveam:run! 'dufy/test:main-suite)")))