-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathspell.asd
67 lines (58 loc) · 2.74 KB
/
spell.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
(defsystem "spell"
:description "Spellchecking package for Common Lisp"
:license "BSD" ; see LICENSE and english.LICENSE files for details
:author ("Robert Strandh <[email protected]>"
"Michał \"phoe\" Herda <[email protected]>"
"Jan Moringen <[email protected]>")
:version (:read-file-form "data/version-string.sexp")
:depends-on ("closer-mop"
"alexandria"
"utilities.print-items"
"bitfield")
:components ((:module "code"
:serial t
:components ((:file "package")
(:file "protocol")
;; Utilities
(:file "bitfield-class")
(:file "strings")
(:file "text-file")
;; Words
(:file "word-class") ; metaclass
(:file "word-classes")
;; Trie
(:file "trie")
(:file "raw-trie")
(:file "compact-trie")
(:file "shared-trie")
;; Dictionary
(:file "dictionary")
;; Similar
(:file "similar")))
(:module "english-dictionary-data"
:pathname "data"
:components ((:static-file "english.txt")
(:static-file "english-additions.txt")))
(:module "english-dictionary"
:pathname "code"
:depends-on ("code"
"english-dictionary-data")
:components ((:file "english"))))
:in-order-to ((test-op (test-op "spell/test"))))
(defsystem "spell/simple"
:description "Identical to \"spell\". Exists for backward compatibility."
:version (:read-file-form "data/version-string.sexp")
:depends-on ((:version "spell" (:read-file-form "data/version-string.sexp"))))
(defsystem "spell/test"
:description "Unit tests for the spell system."
:depends-on ("fiveam"
(:version "spell" (:read-file-form "data/version-string.sexp")))
:components ((:module "test"
:serial t
:components ((:file "package")
(:file "utilities")
(:file "similar")
(:file "dictionary")
(:file "english"))))
:perform (test-op (operation component)
(uiop:symbol-call '#:spell.test '#:run-tests)))