-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathstaple.ext.lisp
44 lines (31 loc) · 1.83 KB
/
staple.ext.lisp
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
(staple:load-system-quietly :staple-server)
(defmethod staple:subsystems ((system (eql (asdf:find-system :staple))))
(list (asdf:find-system :staple-markdown)
(asdf:find-system :staple-markless)
(asdf:find-system :staple-code-parser)
(asdf:find-system :staple-restructured-text)
(asdf:find-system :staple-server)))
(defmethod staple:packages ((system (eql (asdf:find-system :staple))))
(list (find-package :staple)))
(defmethod staple:packages ((system (eql (asdf:find-system :staple-markdown))))
(list))
(defmethod staple:packages ((system (eql (asdf:find-system :staple-markless))))
(list))
(defmethod staple:packages ((system (eql (asdf:find-system :staple-restructured-text))))
(list))
(defmethod staple:packages ((system (eql (asdf:find-system :staple-package-recording))))
(list (find-package :staple-package-recording)))
(defmethod staple:packages ((system (eql (asdf:find-system :staple-server))))
(list (find-package :staple-server)))
(defmethod staple:packages ((system (eql (asdf:find-system :staple-code-parser))))
(list (find-package :staple-code-parser)))
(defmethod staple:documents ((system (eql (asdf:find-system :staple-server))))
(list (asdf:system-relative-pathname system "README.md")))
(defmethod staple:documents ((system (eql (asdf:find-system :staple))))
(list (asdf:system-relative-pathname system "README.md")))
(defmethod staple:documents ((system (eql (asdf:find-system :staple-markdown))))
(list (asdf:system-relative-pathname system "README.markdown.md")))
(defmethod staple:documents ((system (eql (asdf:find-system :staple-markless))))
(list (asdf:system-relative-pathname system "README.markless.md")))
(defmethod staple:documents ((system (eql (asdf:find-system :staple-restructured-text))))
(list (asdf:system-relative-pathname system "README.restructured-text.md")))