-
Notifications
You must be signed in to change notification settings - Fork 0
/
colporter.asd
84 lines (75 loc) · 2.35 KB
/
colporter.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; ****h* system
;;; NAME
;;; system
;;;
;;; AUTHOR
;;; Ruben Philipp <[email protected]>
;;;
;;; CREATED
;;; 2023-07-09
;;;
;;; PURPOSE
;;; System definition for colporter.
;;;
;;;
;;; $$ Last modified: 21:34:58 Sat Jul 20 2024 CEST
;;; ****
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; main system
(defsystem "colporter"
:description "Common Lisp static-site generator."
:version "0.0.1"
:author "Ruben Philipp <[email protected]>"
:license "GPL Version 2.0 or later"
:serial t
:in-order-to ((test-op (test-op "colporter/tests")))
:depends-on ("alexandria"
"spinneret"
"spinneret/cl-markdown"
"cl-markdown"
"cl-ppcre"
"file-types"
"osicat"
"cl-fad"
"parenscript"
"cl-yaml"
"local-time"
"frugal-uuid/non-frugal")
:pathname "src/"
:components ((:file "package")
(:file "named-object")
(:file "utilities")
(:file "markdown")
(:file "globals")
(:file "file")
(:file "asset")
(:file "snippet")
(:file "site")
(:file "page")
(:file "template")
(:file "colporter")
;; this needs to be loaded lastly
;;(:file "export-symbols")
))
;;; regression tests
(defsystem "colporter/tests"
:description "Test suite for colporter."
:author "Ruben Philipp <[email protected]>"
:license "GPL Version 2.0 or later"
:depends-on ("colporter"
"fiveam")
:pathname "tests/"
:perform (test-op (o c) (symbol-call :colporter.tests :run-tests))
:components ((:file "tests")))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; Export all symbols
;;; RP Sun Jul 23 21:50:54 2023
;; (let ((package (find-package :colporter)))
;; (do-all-symbols (symb package)
;; (when (and (or (find-class symb nil)
;; (fboundp symb))
;; (eql (symbol-package symb) package))
;; (export symb package))))
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; EOF colporter.asd