Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
asdf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Moringen
asdf
Commits
e4bd17dc
Commit
e4bd17dc
authored
11 years ago
by
Francois-Rene Rideau
Browse files
Options
Downloads
Patches
Plain Diff
Introduce load-systems* as a variant of load-systems that allows for keyword arguments.
parent
285a61e9
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
defsystem.lisp
+1
-1
1 addition, 1 deletion
defsystem.lisp
interface.lisp
+1
-1
1 addition, 1 deletion
interface.lisp
operate.lisp
+7
-2
7 additions, 2 deletions
operate.lisp
with
9 additions
and
4 deletions
defsystem.lisp
+
1
−
1
View file @
e4bd17dc
...
...
@@ -222,7 +222,7 @@
(
defsystem-dependencies
(
loop
:for
spec
:in
defsystem-depends-on
:collect
(
resolve-dependency-spec
nil
spec
))))
(
setf
(
gethash
name
*systems-being-defined*
)
system
)
(
apply
'
load-systems
defsystem-dependencies
)
(
load-systems
*
defsystem-dependencies
)
;; We change-class AFTER we loaded the defsystem-depends-on
;; since the class might be defined as part of those.
(
let
((
class
(
class-for-type
nil
class
)))
...
...
This diff is collapsed.
Click to expand it.
interface.lisp
+
1
−
1
View file @
e4bd17dc
...
...
@@ -22,7 +22,7 @@
#:oos
#:operate
#:make-plan
#:perform-plan
#:sequential-plan
#:system-definition-pathname
#:with-system-definitions
#:search-for-system-definition
#:find-component
#:component-find-path
#:compile-system
#:load-system
#:load-systems
#:compile-system
#:load-system
#:load-systems
#:load-systems*
#:require-system
#:test-system
#:clear-system
#:operation
#:make-operation
#:find-operation
#:upward-operation
#:downward-operation
#:sideway-operation
#:selfward-operation
...
...
This diff is collapsed.
Click to expand it.
operate.lisp
+
7
−
2
View file @
e4bd17dc
...
...
@@ -10,7 +10,8 @@
#:operate
#:oos
#:*systems-being-operated*
#:build-system
#:load-system
#:load-systems
#:compile-system
#:test-system
#:require-system
#:load-system
#:load-systems
#:load-systems*
#:compile-system
#:test-system
#:require-system
#:*load-system-operation*
#:module-provide-asdf
#:component-loaded-p
#:already-loaded-systems
))
(
in-package
:asdf/operate
)
...
...
@@ -120,9 +121,13 @@ for how to load or compile stuff")
(
apply
'operate
*load-system-operation*
system
keys
)
t
)
(
defun
load-systems*
(
systems
&rest
keys
)
"Loading multiple systems at once."
(
dolist
(
s
systems
)
(
apply
'load-system
s
keys
)))
(
defun
load-systems
(
&rest
systems
)
"Loading multiple systems at once."
(
map
()
'
load-system
systems
))
(
load-system
s*
systems
))
(
defun
compile-system
(
system
&rest
args
&key
force
force-not
verbose
version
&allow-other-keys
)
"Shorthand for `(asdf:operate 'asdf:compile-op system)`. See OPERATE for details."
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment