From: Alan Shields Date: Tue, 16 Aug 2005 18:44:54 +0000 (+0200) Subject: Add :fiveam to *features* X-Git-Url: http://repo.macrolet.net/gitweb/?a=commitdiff_plain;h=6e4acc919aafc7e1a963bad1f1a218f8ea423394;p=fiveam.git Add :fiveam to *features* I've found that I prefer to add testing code in my other code, but I dislike adding :fiveam to my package requirements list. This allows users of fiveam to delineate testing code with #+fiveam() - whereupon it will be totally ignored by those who do not have fiveam. Happiness for all and love ensue. --- diff --git a/src/packages.lisp b/src/packages.lisp index 0a8b076..1220a78 100644 --- a/src/packages.lisp +++ b/src/packages.lisp @@ -56,6 +56,11 @@ #:!!! #:*debug-on-error*)) +;;;; You can use #+fiveam() to put your test-defining code +;;;; inline with your other code - and not require people to +;;;; have fiveam to run your package. +(pushnew :5am *features*) + ;;;;@include "check.lisp" ;;;;@include "test.lisp"