Commit f2a2d29e authored by Francois-Rene Rideau's avatar Francois-Rene Rideau
Browse files

2.26.18: Make it easier to name dependencies not in the parent module,

by adding a method to find-component that uses the second argument when it's a component,
discards the first argument. This makes it easier to build non-canonical dependency graphs.
parent 20dc739a
......@@ -14,7 +14,7 @@
:licence "MIT"
:description "Another System Definition Facility"
:long-description "ASDF builds Common Lisp software organized into defined systems."
:version "2.26.17" ;; to be automatically updated by bin/bump-revision
:version "2.26.18" ;; to be automatically updated by bin/bump-revision
:depends-on ()
:components
((:file "asdf")))
......
;;; -*- mode: Common-Lisp; Base: 10 ; Syntax: ANSI-Common-Lisp ; coding: utf-8 -*-
;;; This is ASDF 2.26.17: Another System Definition Facility.
;;; This is ASDF 2.26.18: Another System Definition Facility.
;;;
;;; Feedback, bug reports, and patches are all welcome:
;;; please mail to <asdf-devel@common-lisp.net>.
......@@ -118,7 +118,7 @@
;; "2.345.6" would be a development version in the official upstream
;; "2.345.0.7" would be your seventh local modification of official release 2.345
;; "2.345.6.7" would be your seventh local modification of development version 2.345.6
(asdf-version "2.26.17")
(asdf-version "2.26.18")
(existing-asdf (find-class 'component nil))
(existing-version *asdf-version*)
(already-there (equal asdf-version existing-version)))
......@@ -1987,6 +1987,10 @@ PREVIOUS-TIME when not null is the time at which the PREVIOUS system was loaded.
(defmethod find-component ((module module) (name cons))
(find-component (find-component module (car name)) (cdr name)))
(defmethod find-component ((base component) (actual component))
(declare (ignorable base))
actual)
;;; component subclasses
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment