Skip to content

Commit

Permalink
Fix up DEPENDENCY-TREE for issue #97.
Browse files Browse the repository at this point in the history
However, the index issue still remains: ASDF should not be listed by
name as a dependency of any system.
  • Loading branch information
xach committed Jun 6, 2014
1 parent 50f6d0e commit 1b1f6bc
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions quicklisp/dist.lisp
Expand Up @@ -1027,11 +1027,14 @@ FUN."

(defgeneric dependency-tree (system)
(:method ((string string))
(dependency-tree (find-system string)))
(let ((system (find-system string)))
(when system
(dependency-tree system))))
(:method ((system system))
(with-consistent-dists
(list* system (mapcar 'dependency-tree (required-systems system))))))

(list* system
(remove nil
(mapcar 'dependency-tree (required-systems system)))))))

(defmethod provided-systems ((object (eql t)))
(let ((systems (loop for dist in (enabled-dists)
Expand Down

0 comments on commit 1b1f6bc

Please sign in to comment.