Generalize installation vs. lisp implementation.
[clon.git] / version.cl
blobc7f9e67f6b05bae182b3d2af3a15fbc0ccb59a51
1 ;;; version.cl --- Clon version extractor script
3 ;; Copyright (C) 2010 Didier Verna
5 ;; Author: Didier Verna <didier@lrde.epita.fr>
6 ;; Maintainer: Didier Verna <didier@lrde.epita.fr>
7 ;; Created: Sun Sep 19 21:32:07 2010
8 ;; Last Revision: Sun Nov 7 19:06:53 2010
10 ;; This file is part of Clon.
12 ;; Clon is free software; you can redistribute it and/or modify
13 ;; it under the terms of the GNU General Public License as published by
14 ;; the Free Software Foundation; either version 2 of the License, or
15 ;; (at your option) any later version.
17 ;; Clon is distributed in the hope that it will be useful,
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 ;; GNU General Public License for more details.
22 ;; You should have received a copy of the GNU General Public License
23 ;; along with this program; if not, write to the Free Software
24 ;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27 ;;; Commentary:
29 ;; Contents management by FCM version 0.1.
32 ;;; Code:
34 (in-package :cl-user)
36 (require :asdf)
38 (asdf:operate 'asdf:load-op :com.dvlsoft.clon)
39 (com.dvlsoft.clon:nickname-package)
41 (format t "LONG_VERSION := ~A~%~
42 SHORT_VERSION := ~A~%"
43 (clon:version :long)
44 (clon:version :short))
46 (clon:exit)
49 ;;; version.cl ends here