source: branches/portable/load-wood.lisp@ 31

Last change on this file since 31 was 25, checked in by wws, 10 years ago

def-wood-test generalized-type-vectors

  • Property svn:eol-style set to native
File size: 1.3 KB
Line 
1;;;-*- Mode: Lisp; -*-
2
3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
4;;
5;; load-wood.lisp
6;; Load this file and evaluate (cl-user::load-wood)
7;;
8;; Portions Copyright © 2006 Clozure Associates and Anvita eReference (www.Anvita.info)
9;; Copyright © 1996 Digitool, Inc.
10;; Copyright © 1992-1995 Apple Computer, Inc.
11;; All rights reserved.
12;; Permission is given to use, copy, and modify this software provided
13;; that Digitool is given credit in all derivative works.
14;; This software is provided "as is". Digitool makes no warranty or
15;; representation, either express or implied, with respect to this software,
16;; its quality, accuracy, merchantability, or fitness for a particular
17;; purpose.
18;;
19
20(in-package :cl-user)
21
22(defun load-quicklisp ()
23 (unless (find-package "QUICKLISP")
24 (cond ((probe-file "~/quicklisp/setup.lisp")
25 (load "~/quicklisp/setup"))
26 (t (format t "Installing Quicklisp...")
27 (load "http://beta.quicklisp.org/quicklisp.lisp")
28 (funcall (find-symbol "INSTALL" :quicklisp-quickstart))))))
29
30(defun ql (system)
31 (funcall (find-symbol "QUICKLOAD" :ql) system :verbose t))
32
33(defun load-wood (&optional test-too?)
34 (load-quicklisp)
35 (load (merge-pathnames "wood.asd" *load-pathname*))
36 (ql (if test-too? :wood-test :wood)))
37
Note: See TracBrowser for help on using the repository browser.