miniblog.asd (2825B)
1 (defsystem "miniblog" 2 :description "A minimal static blog in Common Lisp" 3 :long-description "\ 4 miniblog is a minimal, configurable static blog system written entirely 5 in Common Lisp and intended primarily for standalone use as a command-line 6 tool. It allows simple creation and management of posts written in 7 Markdown, created and edited through your favorite text editor. By default 8 it uses sqlite3 as a persistence backend and pushes all generated content 9 into date-structured directories as a normal HTML." 10 :version "0.1.0" 11 :author "DecayDJK <decaydjk@tilde.town>" 12 :license "GPLv3 or later" 13 :depends-on ("uiop" 14 "alexandria" 15 "cl-fad" 16 "djula" 17 "dbd-sqlite3" 18 "sxql" 19 "mito" 20 "esrap" 21 "3bmd" 22 "local-time" 23 "str" 24 "command-line-arguments") 25 :components ((:module "src" 26 :components ((:file "packages") 27 (:file "markdown-ext") 28 (:file "format") 29 (:file "edit") 30 (:file "db") 31 (:file "data") 32 (:file "content") 33 (:file "miniblog"))) 34 (:module "templates" 35 :components ((:static-file "template.dtl") 36 (:static-file "posts.dtl") 37 (:static-file "page.dtl") 38 (:static-file "rss.dtl"))) 39 (:static-file "COPYING") 40 (:static-file "README")) 41 :in-order-to ((test-op (test-op "miniblog/tests")))) 42 43 (defsystem "miniblog/executable" 44 :build-operation program-op 45 :build-pathname "miniblog" 46 :entry-point "miniblog:entry-point" 47 :depends-on ("miniblog")) 48 49 (defsystem "miniblog/tests" 50 :depends-on ("miniblog" 51 "cl-html5-parser" 52 "fiveam") 53 :components ((:module "tst" 54 :components ((:file "packages") 55 (:file "format") 56 (:file "edit") 57 (:file "data")))) 58 :perform (test-op (o c) (symbol-call :miniblog/tests :run-miniblog-tests)))