-
Notifications
You must be signed in to change notification settings - Fork 6
/
ninglex.asd
35 lines (31 loc) · 1.12 KB
/
ninglex.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
(asdf:defsystem ninglex
:version "0.1"
:author "Flavio Egoavil"
:license "MIT"
:depends-on (:ningle
:lack
:clack
)
:components ((:module "src" ; src/ dir
:components
((:file "ninglex")
)))
:description "Ninglex micro-web framework"
: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))))
;; ;; package with globals for app
;; (defpackage #:ninglex-config (:export #:*base-directory*))
;; ;; base directory
;; (defparameter ninglex-config:*base-directory*
;; (make-pathname :name nil :type nil :defaults *load-truename*))