Browse files

Use the version.lisp-expr hack to specify system version

  • Loading branch information...
1 parent 5f916ff commit c0be6adf185bb3a0c7797af74f1a345cead0a271 @sionescu sionescu committed Apr 1, 2012
Showing with 6 additions and 1 deletion.
  1. +4 −1 parse-number.asd
  2. +2 −0 version.lisp-expr
View
5 parse-number.asd
@@ -3,7 +3,10 @@
(defsystem :parse-number
:author "Matthew Danish"
:maintainer "Sharp Lispers <sharplispers@googlegroups.com>"
- :version "1.2"
+ :version #.(with-open-file (f (merge-pathnames "version.lisp-expr"
+ (or *compile-file-pathname*
+ *load-truename*)))
+ (read f))
:components ((:file "parse-number"))
:in-order-to ((asdf:test-op (asdf:load-op :parse-number-tests)))
:perform (asdf:test-op :after (op c)
View
2 version.lisp-expr
@@ -0,0 +1,2 @@
+;; -*- lisp -*-
+"1.2"

0 comments on commit c0be6ad

Please sign in to comment.