Last change
on this file was
12487,
checked in by Mark Evenson, 15 years ago
|
Port of ASDF-INSTALL under 'contrib/asdf-install'.
'abcl.contrib' will package ASDF-INSTALL in dist/abcl-contrib.jar.
We only have one contrib 'asdf-install'. It is not expected to work
well under Windows at the moment.
To use ASDF-INSTALL, use the following in your ~/.abclrc:
(require 'asdf)
(pushnew "jar:file:${dist.dir}/abcl-contrib.jar!/asdf-install/" asdf:*central-registry*)
Then issuing
CL-USER> (require 'asdf-install)
will load ASDF-INSTALL.
A file ~/.asdf-install can contain customizations to help ASDF-INSTALL
find the programs 'tar' and 'gpg'. 'tar' is searched for in
asdf-install:*shell-search-paths*. The location of 'gpg' can be
customized by setting *gpg-command* to a string containing the file.
This behavior should be rationalized in the future.
ASDF-INSTALL tested under OSX.
|
File size:
502 bytes
|
Line | |
---|
1 | (in-package :cl-user) |
---|
2 | |
---|
3 | (eval-when (:load-toplevel) |
---|
4 | (unless (find-package 'asdf) |
---|
5 | (require 'asdf))) |
---|
6 | |
---|
7 | (eval-when (:load-toplevel) |
---|
8 | (unless (find-package 'asdf) |
---|
9 | (error "ASDF-Install requires ASDF to load")) |
---|
10 | (let ((asdf::*verbose-out* nil)) |
---|
11 | (require 'asdf-install))) |
---|
12 | |
---|
13 | #+sbcl |
---|
14 | (defun run () |
---|
15 | (handler-case |
---|
16 | (apply #'asdf-install:install (cdr *posix-argv*)) |
---|
17 | (error (c) |
---|
18 | (format *error-output* "Install failed due to error:~% ~A~%" c) |
---|
19 | (sb-ext:quit :unix-status 1)))) |
---|
20 | |
---|
Note: See
TracBrowser
for help on using the repository browser.