sbcl.sbcl/src/code/misc.lisp
Nikodemus Siivola bf5163e4f0 A git-only SBCL workflow
This updates the SBCL build and release process to be more compatible
 with distributed development -- to facilitate moving the upstream
 repository into Git.

 A detailed description of what is going on here is in
 doc/GIT-WORKFLOW.md.

 Some highlights:

  * Drop version.lisp-expr and branch-version.lisp-expr.

  * Auto-generate the version at build time using information
    from Git, incorporating:
    - Last release number.
    - Number of commits on origin/master since last release.
    - Current branch, if there are commits not on origin/master.
    - Number of commits not on origin/master.
    - SHA1 id of the last commit.
    - Optional -dirty marker.

  * Update release.sh to work with Git.

  * Make source-distribution.sh exclude the .git directory from tarballs.

  * Release tags contain NEWS for that release.
2011-06-06 09:48:08 +03:00

20 lines
691 B
Common Lisp

;;;; that part of misc.lisp functionality which is used on the
;;;; cross-compilation host Lisp as well as the target Lisp
;;;; This software is part of the SBCL system. See the README file for
;;;; more information.
;;;;
;;;; This software is derived from the CMU CL system, which was
;;;; written at Carnegie Mellon University and released into the
;;;; public domain. The software is in the public domain and is
;;;; provided with absolutely no warranty. See the COPYING and CREDITS
;;;; files for more information.
(in-package "SB!IMPL")
(defun sb!xc:lisp-implementation-type ()
"SBCL")
(defun sb!xc:lisp-implementation-version ()
#.(sb-cold:read-from-file "version.lisp-expr"))