-
Notifications
You must be signed in to change notification settings - Fork 3
/
mailgun.asd
22 lines (21 loc) · 1015 Bytes
/
mailgun.asd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
(defsystem mailgun
:description "A thin wrapper to post HTML emails through mailgun.com"
:version (:read-file-form "version.lisp-expr")
:author "Alexander Artemenko"
:license "Unlicense"
:class :package-inferred-system
:pathname "src"
:depends-on ("mailgun/core")
: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))))