Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
asdf
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
15
Issues
15
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
asdf
asdf
Commits
3f785792
Commit
3f785792
authored
Aug 02, 2014
by
Francois-Rene Rideau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move support for fasl-op and other legacy names for bundle operations to a contrib.
parent
5f69652c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
contrib/fasl-op.lisp
contrib/fasl-op.lisp
+31
-0
No files found.
contrib/fasl-op.lisp
0 → 100644
View file @
3f785792
(
uiop:define-package
:asdf/contrib/fasl-op
(
:use
:common-lisp
:uiop
:asdf
:asdf/component
:asdf/operation
:asdf/lisp-action
:asdf/bundle
))
(
in-package
:asdf/contrib/fasl-op
)
;;; Backward compatibility with pre-3.1.2 names
(
eval-when
(
:compile-toplevel
:load-toplevel
:execute
)
(
defun
frob-symbol
(
sym
)
(
loop
:for
dest
:in
'
(
:asdf/bundle
:asdf/interface
)
:do
(
uiop/package::ensure-import
(
symbol-name
sym
)
(
find-package
dest
)
(
symbol-package
sym
)
(
make-hash-table
:test
'equal
)
(
make-hash-table
:test
'equal
)))))
(
defmacro
declare-ops
(
&rest
ops
)
`
(
progn
,@
(
loop
:for
(
compat-name
current-name
)
:in
ops
:append
`
((
defclass
,
compat-name
(
selfward-operation
)
((
selfward-operation
:initform
',current-name
:allocation
:class
)))
(
defmethod
output-files
((
o
,
compat-name
)
(
c
component
))
(
output-files
(
find-operation
o
',current-name
)
c
))
(
frob-symbol
',compat-name
)))))
(
declare-ops
(
fasl-op
compile-bundle-op
)
(
load-fasl-op
load-bundle-op
)
(
binary-op
deliver-asd-op
)
(
monolithic-fasl-op
monolithic-compile-bundle-op
)
(
monolithic-load-fasl-op
monolithic-load-bundle-op
)
(
monolithic-binary-op
monolithic-deliver-asd-op
))
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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