Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
asdf
asdf
Commits
4b1159f5
Commit
4b1159f5
authored
May 02, 2021
by
Phoebe Goldman
Committed by
Robert Goldman
May 02, 2021
Browse files
rewrite docstring for `record-dependency`
parent
2a9241d1
Pipeline
#3550
passed with stages
in 39 minutes and 28 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
plan.lisp
View file @
4b1159f5
...
...
@@ -45,7 +45,13 @@
(
reverse
(
plan-actions-r
plan
)))
(
defgeneric
record-dependency
(
plan
operation
component
)
(
:documentation
"Record an action as a dependency in the current plan"
))
(
:documentation
"Record that, within PLAN, performing OPERATION on COMPONENT depends on all
of the (OPERATION . COMPONENT) actions in the current ASDF session's VISITING-ACTION-LIST.
You can get a single action which dominates the set of dependencies corresponding to this call with
(first (visiting-action-list *asdf-session*))
since VISITING-ACTION-LIST is a stack whose top action depends directly on its second action,
and whose second action depends directly on its third action, and so forth."
))
;; No need to record a dependency to build a full graph, just accumulate nodes in order.
(
defmethod
record-dependency
((
plan
sequential-plan
)
(
o
operation
)
(
c
component
))
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment