X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=base64.asd;h=146e5129a88385b03378a76919915c41ba798f5c;hb=4c36b6fb82218be5911fb8aebc99d507e73cbdd6;hp=565cb5e5a287d8e102860622c982f9b892cec4b6;hpb=64455dcb0317949fd476297aec2c1cf7cd046fe3;p=cl-base64.git diff --git a/base64.asd b/base64.asd index 565cb5e..146e512 100644 --- a/base64.asd +++ b/base64.asd @@ -7,21 +7,42 @@ ;;;; Programmer: Kevin M. Rosenberg ;;;; Date Started: Dec 2002 ;;;; -;;;; $Id: base64.asd,v 1.1 2002/12/29 06:08:15 kevin Exp $ +;;;; $Id: base64.asd,v 1.22 2003/08/24 20:38:08 kevin Exp $ ;;;; ************************************************************************* -(in-package :asdf) +(in-package #:cl-user) +(defpackage #:base64-system (:use #:asdf #:cl)) +(in-package #:base64-system) -(defsystem :base64 + +(defsystem base64 :name "cl-base64" - :author "Kevin M. Rosenberg and Juri Pakaste" - :version "1.0" + :author "Kevin M. Rosenberg based on initial code by Juri Pakaste" + :version "3.1" :maintainer "Kevin M. Rosenberg " - :licence "Public domain" - :description "Base64 encode and decoding" + :licence "BSD-style" + :description "Base64 encoding and decoding with URI support." - :perform (load-op :after (op base64) - (pushnew :base64 cl:*features*)) + ;; depends-on only needed for test-op + :depends-on (:kmrcl) :components - ((:file "base64"))) + ((:file "package") + (:file "encode" :depends-on ("package")) + (:file "decode" :depends-on ("package")) + )) + +(defmethod perform ((o test-op) (c (eql (find-system 'base64)))) + (operate 'load-op 'base64-tests) + (operate 'test-op 'base64-tests :force t)) + +(defsystem base64-tests + :depends-on (base64) + :components + ((:file "tests"))) + +(defmethod perform ((o test-op) (c (eql (find-system 'base64-tests)))) + (operate 'load-op 'base64-tests) + (or (funcall (intern (symbol-name '#:test-base64) + (find-package 'base64-test))) + (error "test-op failed")))