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-dependency-grovel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xcvb
asdf-dependency-grovel
Commits
f8d720b1
Commit
f8d720b1
authored
Oct 14, 2011
by
Francois-Rene Rideau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix strip/
parent
b6b4d394
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
asdf-dependency-grovel.asd
asdf-dependency-grovel.asd
+6
-2
grovel.lisp
grovel.lisp
+4
-4
No files found.
asdf-dependency-grovel.asd
View file @
f8d720b1
;;; -*- Mode: Lisp -*-
(
cl:in-package
#:asdf
)
(
cl:in-package
:asdf
)
(
unless
(
or
#+
asdf2
(
asdf:version-satisfies
(
asdf:asdf-version
)
"2.014.8"
))
(
error
"Not only is your ASDF version is too old for ASDF-DEPENDENCY-GROVEL,
you must upgrade it *before* you try to load any system."
))
(
defclass
grovel-handlers
(
module
)
((
%components
:accessor
%handler-components
)))
...
...
@@ -26,7 +30,7 @@
(
handler-input-file-list
(
component-pathname
c
)
c
))))
(
defsystem
:asdf-dependency-grovel
;; :depends-on (:asdf) ; not safe. ASDF must be explicitly upgraded in advance.
:depends-on
((
:version
:asdf
"2.017"
))
:components
((
:file
"package"
)
(
:file
"variables"
:depends-on
(
"package"
))
(
:file
"classes"
:depends-on
(
"package"
"variables"
))
...
...
grovel.lisp
View file @
f8d720b1
...
...
@@ -500,10 +500,10 @@
(
defun
strip/
(
name
)
(
subseq
name
(
1+
(
or
(
position
#\/
name
:from-end
t
)
-1
))))
(
defun
strip-extension
(
name
extension
)
(
let*
((
lext
(
length
extension
))
(
lnam
(
length
name
))
(
pos
(
-
lnam
lext
)))
(
if
(
and
(
plusp
lext
)
(
let*
((
lext
(
and
(
stringp
extension
)
(
length
extension
)
))
(
pext
(
and
lext
(
plusp
lext
)
))
(
pos
(
and
pext
(
-
(
length
name
)
lext
)
)))
(
if
(
and
pos
(
<
1
pos
)
(
string=
name
extension
:start1
pos
)
(
eql
#\.
(
char
name
(
1-
pos
))))
...
...
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