Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /contrib/sb-grovel/sb-grovel.asd [9c3a95] .. [25c176] Maximize Restore

  Switch to side-by-side view

--- a/contrib/sb-grovel/sb-grovel.asd
+++ b/contrib/sb-grovel/sb-grovel.asd
@@ -1,19 +1,13 @@
 ;;; -*-  Lisp -*-
 
-(defpackage #:sb-grovel-system (:use #:asdf #:cl))
-(in-package #:sb-grovel-system)
+(defsystem sb-grovel
+  :version "0.2"
+  :depends-on (asdf)
+  #+sb-building-contrib :pathname
+  #+sb-building-contrib #p"SYS:CONTRIB;SB-GROVEL;"
+  :components ((:file "defpackage")
+               (:file "def-to-lisp" :depends-on ("defpackage"))
+               (:file "foreign-glue" :depends-on ("defpackage")))
+  :perform (load-op :after (o c) (provide 'sb-grovel))
+  :perform (test-op (o c) t))
 
-(defsystem sb-grovel
-    :version "0.01"
-    #+sb-building-contrib :pathname
-    #+sb-building-contrib #p"SYS:CONTRIB;SB-GROVEL;"
-    :components ((:file "defpackage")
-                 (:file "def-to-lisp" :depends-on ("defpackage"))
-                 (:file "foreign-glue" :depends-on ("defpackage"))))
-
-(defmethod perform :after ((o load-op) (c (eql (find-system :sb-grovel))))
-  (provide 'sb-grovel))
-
-(defmethod perform ((o test-op) (c (eql (find-system :sb-grovel))))
-  t)
-