X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=contrib%2Fsb-aclrepl%2Fsb-aclrepl.asd;h=4fbae1d5477c0748750a3b8cb1f5dff61d5f7a92;hb=f7e3e709f7c2207f1923375942f7fb1c092f92b0;hp=b14529c6e8355559f92bd2f68a9300d91d8624cb;hpb=9cd907d4857862f1917c9341723d6f60622b052b;p=sbcl.git diff --git a/contrib/sb-aclrepl/sb-aclrepl.asd b/contrib/sb-aclrepl/sb-aclrepl.asd index b14529c..4fbae1d 100644 --- a/contrib/sb-aclrepl/sb-aclrepl.asd +++ b/contrib/sb-aclrepl/sb-aclrepl.asd @@ -3,18 +3,27 @@ (defpackage #:sb-aclrepl-system (:use #:asdf #:cl)) (in-package #:sb-aclrepl-system) -(require 'sb-rt) - (defsystem sb-aclrepl - :version "0.6" :author "Kevin Rosenberg " :description "An AllegroCL compatible REPL" - :components ((:file "repl") - (:file "inspect" :depends-on ("repl")) - (:file "debug" :depends-on ("repl")) - (:file "tests" :depends-on ("debug" "inspect")))) + #+sb-building-contrib :pathname + #+sb-building-contrib "SYS:CONTRIB;SB-ACLREPL;" + :components ((:file "toplevel") + (:file "repl" :depends-on ("toplevel")) + (:file "inspect" :depends-on ("repl")) + (:file "debug" :depends-on ("repl")))) + +(defmethod perform :after ((o load-op) (c (eql (find-system :sb-aclrepl)))) + (provide 'sb-aclrepl)) (defmethod perform ((o test-op) (c (eql (find-system :sb-aclrepl)))) + (oos 'load-op 'sb-aclrepl-tests) + (oos 'test-op 'sb-aclrepl-tests)) + +(defsystem sb-aclrepl-tests + :depends-on (sb-rt) + :components ((:file "tests"))) + +(defmethod perform ((o test-op) (c (eql (find-system :sb-aclrepl-tests)))) (or (funcall (intern "DO-TESTS" (find-package "SB-RT"))) (error "test-op failed"))) -