Yu-Gi-Oh! Deck Building and Card Inventory Management web interface written in Common Lisp, utilizing HTMX.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
823B

  1. #|
  2. print-deps.lisp
  3. Output dependency information extracted from the ASDF:DEFSYSTEM.
  4. TODO Integrate this with the Dockerfile.
  5. |#
  6. (defparameter +extra-depends-on+
  7. '(:hunchentoot :woo :slynk/trace-dialog :slynk/profiler :slynk/mrepl :slynk/indentation
  8. :slynk/fancy-inspector :slynk/arglists :slynk))
  9. (defun format-deps (system &optional (stream *standard-output*) extra-depends-on)
  10. (format stream "(ql:quickload (list ~{~s~^ ~}))~%" (system-deps system extra-depends-on)))
  11. (defun system-deps (system &optional extra-depends-on)
  12. (mapcar (alexandria:compose #'alexandria:make-keyword #'string-upcase)
  13. (sort (remove-duplicates
  14. (append extra-depends-on
  15. (asdf:system-depends-on
  16. (asdf:find-system system))))
  17. #'string<)))