-
Notifications
You must be signed in to change notification settings - Fork 0
/
data-dictionary.asd
30 lines (28 loc) · 1021 Bytes
/
data-dictionary.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
#|
This file is a part of data-dictionary project.
|#
(in-package :cl-user)
(defpackage data-dictionary-asd
(:use :cl :asdf))
(in-package :data-dictionary-asd)
(defsystem data-dictionary
:version "0.1"
:author "Cody Reichert <[email protected]>"
:license "MIT"
:depends-on (:cl-csv)
:components ((:module "src"
:components
((:file "data-dictionary"))))
:description "Generate a markdown representation of RESO's Data Dictionary"
:long-description
#.(with-open-file (stream (merge-pathnames
#p"README.org"
(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))))