-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcss-selectors.asd
44 lines (39 loc) · 1.26 KB
/
css-selectors.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
(eval-when (:compile-toplevel :load-toplevel :execute)
(unless (find-package :net.acceleration.css-selectors.system)
(defpackage :net.acceleration.css-selectors.system
(:use :common-lisp :asdf))))
(in-package :net.acceleration.css-selectors.system)
(defsystem :css-selectors
:description "An implementation of css selectors"
:author "<[email protected]>"
:licence "BSD"
:components
((:module :src
:serial T
:components
((:file "packages")
(:file "node-api")
(:file "parse")
(:file "pseudo")
(:file "compile")
(:file "dom"))
))
:depends-on (:iterate :yacc :cl-ppcre
:buildnode :alexandria
:cxml :cl-interpol :symbol-munger))
(asdf:defsystem css-selectors-test
:description "test for the css-selector library"
:depends-on (:css-selectors :lisp-unit2 :buildnode-xhtml)
:components ((:module :test
:serial T
:components
((:file "setup")
(:file "parse")
(:file "selectors")
))))
(defmethod asdf:perform ((o asdf:test-op) (c (eql (find-system :css-selectors))))
(asdf:oos 'asdf:load-op :css-selectors-test)
(let ((*package* (find-package :css-selectors-test)))
(eval (read-from-string "
(run-tests)
"))))