Merge branch 'next' of github.com:kronusaturn/lw2-viewer into next
[lw2-viewer.git] / lw2-viewer.asd
blob126d3872c7643bd286ff70c38a6dbdfb97ee334e
1 (in-package :asdf)
3 (asdf:defsystem :lw2-viewer
4   :depends-on ("uiop" "flexi-streams" "hunchentoot" "drakma" "cl-json" "lmdb" "local-time" "plump" "clss" "cl-ppcre" "xml-emitter" "city-hash" "bit-smasher" "cl-unicode" "parse-js" "markdown.cl" "websocket-driver-client" "ironclad" "cl-base64" "djula" "split-sequence" "cl-typesetting")
5   :components ((:module "src"
6                 :components ((:file "utils")
7                              (:file "graphql")
8                              (:file "hash-utils")
9                              (:file "context")
10                              (:file "backend-modules")
11                              (:module "backends"
12                               :components ((:file "accordius"))
13                               :depends-on ("backend-modules" "lw2-login"))
14                              (:file "sites" :depends-on ("utils" "backend-modules"))
15                              (:file "config-package" :depends-on ("sites" "backend-modules"))
16                              (module "config-copy"
17                                      :pathname "../"
18                                      :output-files (compile-op (o c) (if (file-exists-p "config.lisp") nil (list "config.lisp")))
19                                      :perform (compile-op :before (o c)
20                                                           (if (file-exists-p "config.lisp")
21                                                               (mark-operation-done o c)
22                                                               (copy-file "config-example.lisp" "config.lisp"))))
23                              (:file "../config" :depends-on ("config-copy" "config-package"))
24                              (:file "lmdb" :depends-on ("hash-utils" "sites" "context" "../config"))
25                              (:file "backend" :depends-on ("utils" "backend-modules" "lmdb" "graphql" "context"))
26                              (:file "components" :depends-on ("utils"))
27                              (:file "links" :depends-on ("lmdb" "backend" "sites" "context"))
28                              (:static-file "../text-clean-regexps.js")
29                              (:static-file "../html-clean-regexps.js")
30                              (:file "clean-html" :depends-on ("utils" "links" "lmdb" "../text-clean-regexps.js" "../html-clean-regexps.js"))
31                              (:file "lw2-login" :depends-on ("utils" "backend" "backend-modules" "context")))
32                 :depends-on ())
33                (:module "templates"
34                 :components ((:static-file "conversation.html")
35                              (:static-file "edit-post.html")
36                              (:static-file "reset-password.html")))
37                (:static-file "www/head.js")
38                (:file "lw2" :depends-on ("src" "www/head.js" "templates"))))