miniblog

Miniblog: A command-line static blog system in Common Lisp
Log | Files | Refs | README | LICENSE

miniblog.asd (2872B)


      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                         "3bmd-ext-code-blocks"
     23                         "local-time"
     24                         "str"
     25                         "command-line-arguments")
     26            :components ((:module "src"
     27                                  :components ((:file "packages")
     28                                               (:file "markdown-ext")
     29                                               (:file "format")
     30                                               (:file "edit")
     31                                               (:file "db")
     32                                               (:file "data")
     33                                               (:file "content")
     34                                               (:file "miniblog")))
     35                         (:module "templates"
     36                                  :components ((:static-file "template.dtl")
     37                                               (:static-file "posts.dtl")
     38                                               (:static-file "page.dtl")
     39                                               (:static-file "rss.dtl")))
     40                         (:static-file "COPYING")
     41                         (:static-file "README"))
     42            :in-order-to ((test-op (test-op "miniblog/tests"))))
     43 
     44 (defsystem "miniblog/executable"
     45            :build-operation program-op
     46            :build-pathname "miniblog"
     47            :entry-point "miniblog:entry-point"
     48            :depends-on ("miniblog"))
     49 
     50 (defsystem "miniblog/tests"
     51            :depends-on ("miniblog"
     52                         "cl-html5-parser"
     53                         "fiveam")
     54            :components ((:module "tst"
     55                                  :components ((:file "packages")
     56                                               (:file "format")
     57                                               (:file "edit")
     58                                               (:file "data"))))
     59            :perform (test-op (o c) (symbol-call :miniblog/tests :run-miniblog-tests)))