source: trunk/abcl/contrib/quicklisp/quicklisp-abcl.asd @ 14204

Last change on this file since 14204 was 14204, checked in by Mark Evenson, 8 years ago

Complete runtime chain to installing Quicklisp.

ABCL-ASDF now knows how to load a locally installed Quicklisp.

To download and install Quicklisp from a clean REPL:

CL-USER> (require :abcl)(require :abcl-contrib)(require :quicklisp-abcl)

File size: 1007 bytes
Line 
1;;;; -*- Mode: LISP -*-
2(require :asdf)
3(require :abcl-contrib)
4(require :abcl-asdf)
5(in-package :asdf)
6;; Quicklisp defines:
7;;(defvar *setup-url* "http://beta.quicklisp.org/quickstart/setup.lisp")
8(defsystem :quicklisp-abcl
9    :version "0.2.0"
10    :description "Convenience stubs to load locally installed Quicklisp."
11;;    #+nil::defsystem-depends-on (abcl-asdf)
12    :components nil)
13;; #+nil::needs-abcl-asdf((:iri "http://beta.quicklisp.org/quicklisp.lisp"))
14;;    #+nil::in-order-to ((asdf:compile-op (ql::install)))  ;;; FIXME tickle the internal Quicklisp setup
15
16(defmethod perform ((o load-op) (c (eql (find-system 'quicklisp-abcl))))
17  ;;; Load local Quicklisp if it has been an installed
18  (let ((quicklisp-init (merge-pathnames "quicklisp/setup.lisp"
19                                         (user-homedir-pathname))))
20    (handler-case
21        (when (probe-file quicklisp-init)
22          (load quicklisp-init))
23      (t (e) (load "https://beta.quicklisp.org/quickstart/setup.lisp")))))
24 
25
26
Note: See TracBrowser for help on using the repository browser.