Where should a Quicklisp QUICKLOAD go in my source? Nowhere?

前端 未结 4 2259
[愿得一人]
[愿得一人] 2021-02-15 10:11

Let\'s say I build an application on top of net.aserve and bordeaux-threads. My package declaration might look like this:

(defpackage :         


        
4条回答
  •  长情又很酷
    2021-02-15 10:59

    I had exactly the same question and I agree I should not force a package manager on a user. Before quicklisp's time I was using clbuild and it puts all .asd files into a systems/ directory. As long as the `systems/' directory is in asdf:central-registry, one can simply (require "a-package"), at least in SBCL and CCL, to load all relevant packages. The new clbuild2 retains this feature if you do install-from-upstream, and its integrated quicklisp does respect the separately installed-from-upstream packages, but quicklisp installed packages don't expose their .asd files anymore.

    So my solution is to write a shell script that scans all quicklisp installed packages, usually under dists/quicklisp/software/, and link all .asd files there to a central place. In this way one doesn't need to load quicklisp into the cl image if one only wants to use quicklisp installed packages. I hope quicklisp could ship this feature by default.

提交回复
热议问题