How to fix arnesi:clean-op.

TANIGUCHI Masaya ta2gch at
Sun May 8 14:50:46 UTC 2016

I want to do "make clean" on ASDF.
I tried to use clean-op of ARNESI.

I got a following message,

    No dependency propagating scheme specified for operation class 
The class needs to be updated for ASDF 3.1 and specify appropriate 
propagation mixins.


Definition of arnesi:clean-op is

(defclass clean-op (asdf:operation)
   ((for-op :accessor for-op :initarg :for-op :initform 'asdf:compile-op))
   (:documentation "Removes any files generated by an asdf component."))

(defmethod asdf:perform ((op clean-op) (c asdf:component))
   "Delete all the output files generated by the component C."
   (dolist (f (asdf:output-files (make-instance (for-op op)) c))
     (when (probe-file f)
       (delete-file f))))

(defmethod asdf:operation-done-p ((op clean-op) (c asdf:component))
   "Returns T when the output-files of (for-op OP) C don't exist."
   (dolist (f (asdf:output-files (make-instance (for-op op)) c))
     (when (probe-file f) (return-from asdf:operation-done-p nil)))

How to fix it?



More information about the asdf-devel mailing list