source: cl-darcs/trunk/dump-clisp.lisp

Last change on this file was 195, checked in by Magnus Henoch, 14 years ago

Commit dump scripts

File size: 1.2 KB
Line 
1;;; Copyright (C) 2007, 2008 Magnus Henoch
2;;;
3;;; This program is free software; you can redistribute it and/or
4;;; modify it under the terms of the GNU General Public License as
5;;; published by the Free Software Foundation; either version 2 of the
6;;; License, or (at your option) any later version.
7;;;
8;;; This program is distributed in the hope that it will be useful,
9;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
10;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11;;; General Public License for more details.
12;;;
13;;; You should have received a copy of the GNU General Public License
14;;; along with this program; if not, write to the Free Software
15;;; Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
16
17;; Use this file to create a "darcs" executable using CLISP.
18
19(let* ((src-dir (make-pathname :name nil :type nil :defaults *load-truename*))
20       (asdf:*central-registry* (cons src-dir asdf:*central-registry*)))
21  (asdf:oos 'asdf:load-op :cl-darcs))
22
23(in-package :darcs)
24
25(defun run-with-clisp ()
26  (ext:quit (handle-command-line ext:*args*)))
27
28(ext:saveinitmem "darcs" 
29                 :executable t
30                 :norc t
31                 :quiet t
32                 :init-function #'run-with-clisp
33                 :start-package :darcs)
34
35(ext:quit)
Note: See TracBrowser for help on using the repository browser.