-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathhtml2text.asd
23 lines (22 loc) · 1.03 KB
/
html2text.asd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
(defsystem html2text
:version (:read-file-form "version.lisp-expr")
:author "Alexander Artemenko"
:license "BSD"
:class :package-inferred-system
:pathname "src"
:depends-on ("html2text/core")
:description "Converts HTML text into the Markdown."
:long-description
#.(with-open-file (stream (merge-pathnames
#p"README.rst"
(or *load-pathname* *compile-file-pathname*))
:if-does-not-exist nil
:direction :input)
(when stream
(let ((seq (make-array (file-length stream)
:element-type 'character
:fill-pointer t)))
(setf (fill-pointer seq)
(read-sequence seq stream))
seq)))
:in-order-to ((test-op (test-op html2text-test))))