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
Hugo Ishimaru
asdf
Commits
efaaddf7
Commit
efaaddf7
authored
10 years ago
by
Francois-Rene Rideau
Browse files
Options
Downloads
Patches
Plain Diff
tools: move install-asdf from test-basic to build
parent
70b11b47
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
tools/build.lisp
+24
-0
24 additions, 0 deletions
tools/build.lisp
tools/install-asdf.lisp
+1
-1
1 addition, 1 deletion
tools/install-asdf.lisp
tools/test-basic.lisp
+0
-23
0 additions, 23 deletions
tools/test-basic.lisp
with
25 additions
and
24 deletions
tools/build.lisp
+
24
−
0
View file @
efaaddf7
...
...
@@ -25,3 +25,27 @@
(
terpri
)
(
run
`
(
pipe
(
wc
header.lisp
,@
(
driver-files
)
,@
(
asdf-defsystem-files
))
(
tail
-n
1
)))))
;;; BONUS: install asdf as module for your favorite Lisp implementation.
(
deftestcmd
install-asdf
(
lisp
)
"install asdf as a module on specified Lisp"
(
flet
((
doit
()
(
with-asdf-dir
()
(
run-test-lisp
(
format
nil
"installing ASDF to be provided as a module on ~(~A~)"
lisp
)
'
((
load
"tools/install-asdf.lisp"
)(
uiop:quit
))
:lisp
lisp
))))
(
case
lisp
((
:allegro
:allegromodern
:ccl
:clisp
:cmucl
:lispworks
:sbcl
:scl
:xcl
)
(
doit
))
((
:abcl
:ecl
:ecl_bytecodes
:mkcl
)
(
format
t
"Upgrading the implementation-provided ASDF on ~(~A~) isn't supported (yet).
Happily, that implementation is known to keep ASDF reasonably up to date.~%"
lisp
))
((
:cormancl
:gcl
:genera
:mcl
:mocl
)
(
format
t
"Installing ASDF so it is provided by ~(~A~) isn't supported.
If you care, go hack the implementation.~%"
lisp
))
(
otherwise
(
if
(
string-prefix-p
"allegro"
(
string-downcase
lisp
))
(
doit
)
(
error
"Unknown implementation ~(~A~)"
lisp
))))))
This diff is collapsed.
Click to expand it.
tools/install-asdf.lisp
+
1
−
1
View file @
efaaddf7
":"
; exec cl-launch "$0" "$@" # -*- Lisp -*-
#|
Usage: ./tools/asdf-tools install-asdf
-as-module
l=lispworks
Usage: ./tools/asdf-tools install-asdf l=lispworks
This script will install the current version of ASDF
as a module pre-compiled for your implementation,
...
...
This diff is collapsed.
Click to expand it.
tools/test-basic.lisp
+
0
−
23
View file @
efaaddf7
...
...
@@ -54,29 +54,6 @@ Use your preferred lisp implementation and check that asdf is loaded without any
(
log!
log
"BAD: Loading ASDF on ~(~A~) produces messages"
lisp
)
(
return
nil
))))))
;;; BONUS: install asdf as module for your favorite Lisp implementation.
(
deftestcmd
install-asdf
(
lisp
)
"install asdf as a module on specified Lisp"
(
flet
((
doit
()
(
with-asdf-dir
()
(
run-test-lisp
(
format
nil
"installing ASDF to be provided as a module on ~(~A~)"
lisp
)
'
((
load
"tools/install-asdf.lisp"
)(
uiop:quit
))
:lisp
lisp
))))
(
case
lisp
((
:allegro
:allegromodern
:ccl
:clisp
:cmucl
:lispworks
:sbcl
:scl
:xcl
)
(
doit
))
((
:abcl
:ecl
:ecl_bytecodes
:mkcl
)
(
format
t
"Upgrading the implementation-provided ASDF on ~(~A~) isn't supported (yet).
Happily, that implementation is known to keep ASDF reasonably up to date.~%"
lisp
))
((
:cormancl
:gcl
:genera
:mcl
:mocl
)
(
format
t
"Installing ASDF so it is provided by ~(~A~) isn't supported.
If you care, go hack the implementation.~%"
lisp
))
(
otherwise
(
if
(
string-prefix-p
"allegro"
(
string-downcase
lisp
))
(
doit
)
(
error
"Unknown implementation ~(~A~)"
lisp
))))))
(
deftestcmd
test-basic
(
lisp
systems
)
"basic test: doc, clean-load, load-systems"
(
doc
)
...
...
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