Flexible Lisp Blogware. Fork for personal use. Mirrored from https://github.com/kingcons/coleslaw originally.

coleslaw.asd 1.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. (defsystem #:coleslaw
  2. :name "coleslaw-core"
  3. :description "Flexible Lisp Blogware"
  4. :version "0.7"
  5. :license "BSD"
  6. :author "Brit Butler <redline6561@gmail.com>"
  7. :pathname "src/"
  8. :depends-on (:closure-template
  9. :3bmd
  10. :3bmd-ext-code-blocks
  11. :alexandria
  12. :local-time
  13. :inferior-shell
  14. :cl-fad
  15. :cl-ppcre)
  16. :serial t
  17. :components ((:file "packages")
  18. (:file "util")
  19. (:file "config")
  20. (:file "themes")
  21. (:file "posts")
  22. (:file "indices")
  23. (:file "feeds")
  24. (:file "coleslaw"))
  25. :in-order-to ((test-op (load-op coleslaw-tests)))
  26. :perform (test-op :after (op c)
  27. (funcall (intern "RUN!" :coleslaw-tests)
  28. (intern "COLESLAW-TESTS" :coleslaw-tests))))
  29. (defsystem #:coleslaw-tests
  30. :depends-on (coleslaw fiveam)
  31. :pathname "tests/"
  32. :serial t
  33. :components ((:file "packages")
  34. (:file "tests")))
  35. (defmethod operation-done-p ((op test-op)
  36. (c (eql (find-system :coleslaw))))
  37. (values nil))
  38. (defpackage #:coleslaw-conf (:export #:*basedir*))
  39. (defparameter coleslaw-conf:*basedir*
  40. (make-pathname :name nil :type nil :defaults *load-truename*))