Skip to content

Commit

Permalink
[install] Include ASDF as part of this library if the installed Lisp …
Browse files Browse the repository at this point in the history
…does not have

a high enough version.
  • Loading branch information
Jeremy Phelps committed Jun 5, 2018
1 parent 7f96089 commit 7afc423
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
File renamed without changes.
3 changes: 2 additions & 1 deletion lisp-binary.asd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
(when m (princ "." s)))))
(null "1.0"))))))
(unless (string>= asdf-version "3.1.5")
(error "LISP-BINARY requires ASDF 3.1.5 or better. You have ~a" asdf-version)))
(pushnew :lisp-binary-upgrade-asdf *features*)))

(asdf:defsystem :lisp-binary
:author ("Jeremy Phelps")
Expand All @@ -21,6 +21,7 @@
:cffi)
:components
((:file "binary" :depends-on ("utils" "float" "integer" "simple-bit-stream" "reverse-stream"))
#+lisp-binary-upgrade-asdf (:file "asdf")
(:file "simple-bit-stream" :depends-on ("integer"))
(:file "reverse-stream" :depends-on ("integer"))
(:file "integer" :depends-on ("utils"))
Expand Down
2 changes: 0 additions & 2 deletions test/run-tests.lisp
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
(format t "~%>>>>>>>>>>> Test program loading~%")
(load "init.lisp")
(format t "~%>>>>>>>>>>>>> Loaded init file~%")
(load "asdf.lisp")
(format t "~%>>>>>>>>>>>>> Loaded ASDF~%")
(ql:quickload :lisp-binary)
(format t "~%>>>>>>>> LISP-BINARY library successfully loaded~%")
(load "basic-test.lisp")
Expand Down

0 comments on commit 7afc423

Please sign in to comment.