-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
mito-attachment.asd
52 lines (49 loc) · 1.67 KB
/
mito-attachment.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
#|
This file is a part of mito-attachment project.
Copyright (c) 2016 Eitaro Fukamachi (e.arrows@gmail.com)
|#
#|
Author: Eitaro Fukamachi (e.arrows@gmail.com)
|#
(in-package :cl-user)
(defpackage mito-attachment-asd
(:use :cl :asdf))
(in-package :mito-attachment-asd)
(defsystem mito-attachment
:version "0.1"
:author "Eitaro Fukamachi"
:license "LLGPL"
:depends-on (:mito
:zs3
:aws-sign4
:lack-component
:trivial-mimes
:quri
:uuid
:uiop
:alexandria)
:components ((:module "src"
:components
((:file "mito-attachment" :depends-on ("mixin" "storage" "storage-components"))
(:file "mixin" :depends-on ("storage" "util"))
(:file "storage")
(:module "storage-components"
:pathname "storage"
:depends-on ("storage" "util")
:components
((:file "disk")
(:file "s3")))
(:file "util"))))
:description "Mito mixin class for file management"
:long-description
#.(with-open-file (stream (merge-pathnames
#p"README.markdown"
(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))))