forked from quickdocs/quickdocs-updater
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquickdocs-updater.asd
55 lines (52 loc) · 1.76 KB
/
quickdocs-updater.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
53
54
55
#|
This file is a part of quickdocs-updater project.
Copyright (c) 2015 Eitaro Fukamachi ([email protected])
|#
#|
Author: Eitaro Fukamachi ([email protected])
|#
(in-package :cl-user)
(defpackage quickdocs-updater-asd
(:use :cl :asdf))
(in-package :quickdocs-updater-asd)
(defsystem quickdocs-updater
:version "0.1"
:author "Eitaro Fukamachi"
:license "BSD 2-Clause"
:depends-on (:quickdocs-serializer
:quickdocs-database
:datafly
:sxql
:cl-ppcre
:dexador
:quri
:jonathan
:babel
:plump
:clss
:uiop
:local-time
:alexandria
:split-sequence)
:components ((:module "src"
:components
((:file "quickdocs-updater" :depends-on ("extracter" "release" "readme" "cliki" "repos"))
(:file "release" :depends-on ("extracter" "http"))
(:file "readme")
(:file "cliki" :depends-on ("http"))
(:file "repos" :depends-on ("http"))
(:file "extracter")
(:file "http"))))
:description "Updates Quickdocs database"
: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))))