Skip to content

Commit 6da7e19

Browse files
committed
Housekeeping
1 parent 8fbc75d commit 6da7e19

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

quicklisp-systems.lisp

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818
;; Clone quicklisp-projects and quicklisp-controller repositories.
1919
;; Setup quicklisp-controller: (quicklisp-controller:setup-directories "~/src/lisp/quicklisp-projects/")
20-
;; Update the list of Quicklisp systems using QUICKLISP-CONTROLLER:UPDATE-WHAT-YOU-CAN.
20+
;; Update the list of Quicklisp systems using QUICKLISP-CONTROLLER::UPDATE-WHAT-YOU-CAN.
2121
;; Load all ASDF systems available in *QUICKLISP-CONTROLLER-DIRECTORY* using REGISTER-ALL-ASDF-FILES
2222
;; Then use WRITE-SYSTEMS-FILE to serialize to a QUICKLISP-SYSTEM distribution file.
2323

@@ -42,9 +42,9 @@
4242
(let ((f (gensym)))
4343
`(when (probe-file ,path)
4444
(with-open-file (,f ,path :direction :input :external-format :utf-8)
45-
(loop for ,system := (read ,f nil nil)
46-
while ,system
47-
do ,@body)))))
45+
(loop for ,system := (read ,f nil nil)
46+
while ,system
47+
do ,@body)))))
4848

4949
(defun find-files-do (path pattern function &optional (include-subdirectories t))
5050
"Find files in PATH using PATTERN. Invokes FUNCTION on found files.
@@ -65,23 +65,23 @@ If INCLUDE-SUBDIRECTORIES is T, then work recursively."
6565
(lambda (file)
6666
;; conflictive asdf system files
6767
(when (not (some (lambda (conflictive-system-name)
68-
(search conflictive-system-name (princ-to-string file) :test 'equalp))
69-
*conflictive-asdf-files*))
68+
(search conflictive-system-name (princ-to-string file) :test 'equalp))
69+
*conflictive-asdf-files*))
7070
(format *standard-output* "Loading ~a" file)
7171
(handler-case (progn
72-
(asdf/find-system:load-asd file)
73-
(format *standard-output* ". Success.~%"))
74-
(error (e)
75-
;;(error e)
76-
(push (cons file e) *failed-asdf-files*)
77-
(format *standard-output* ". ERROR.~%")
78-
))))))
72+
(asdf/find-system:load-asd file)
73+
(format *standard-output* ". Success.~%"))
74+
(error (e)
75+
;;(error e)
76+
(push (cons file e) *failed-asdf-files*)
77+
(format *standard-output* ". ERROR.~%")
78+
))))))
7979

8080
(defun serialize-asdf-systems (systems stream)
8181
"Serialize all ASDF SYSTEMS to STREAM."
8282
(loop for system in systems
8383
do
84-
(prin1 `(:name ,(slot-value system 'asdf/component::name)
84+
(prin1 `(:name ,(slot-value system 'asdf/component::name)
8585
:description ,(asdf/component:component-description system)
8686
:long-description ,(asdf/component:component-long-description system)
8787
:author ,(slot-value system 'asdf/system::author)
@@ -91,7 +91,7 @@ If INCLUDE-SUBDIRECTORIES is T, then work recursively."
9191
:bug-tracker ,(slot-value system 'asdf/system::bug-tracker)
9292
:version ,(slot-value system 'asdf/system::version)
9393
:license ,(slot-value system 'asdf/system::licence)
94-
:depends-on ,(remove-if-not 'stringp (slot-value system 'asdf/system::depends-on)))
94+
:depends-on ,(remove-if-not 'stringp (slot-value system 'asdf/system::depends-on)))
9595
stream)
9696
(terpri stream)))
9797

@@ -131,7 +131,7 @@ If INCLUDE-SUBDIRECTORIES is T, then work recursively."
131131
(let (systems)
132132
(do-systems (system)
133133
(when (and (getf system :author)
134-
(search author-name (getf system :author) :test 'equalp))
134+
(search author-name (getf system :author) :test 'equalp))
135135
(push system systems)))
136136
systems))
137137

0 commit comments

Comments
 (0)