Skip to content

Commit

Permalink
Use the new (ocicl-runtime:system-list) function.
Browse files Browse the repository at this point in the history
  • Loading branch information
atgreen committed May 27, 2024
1 parent 0df533d commit f10e425
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions contrib/micros-systems.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,9 @@
(uiop:symbol-call '#:quicklisp '#:system-list))))

(defun find-ocicl-systems ()
"If the Ocicl runtime is available, extract all system names from the current directory's systems.csv."
"If the Ocicl runtime is available, extra all system names."
(when (find-package '#:OCICL-RUNTIME)
(with-open-file (in-stream (merge-pathnames (uiop:getcwd) "systems.csv") :direction :input)
(unwind-protect
(loop :for line = (read-line in-stream nil)
:while line
:collect (subseq line 0 (position #\, line)))
(close in-stream)))))
(uiop:symbol-call '#:ocicl-runtime '#:system-list)))

(defun find-asdf-systems ()
"If ASDF is available, extract system names by collecting all keys from the *source-registry* hash lists."
Expand Down

0 comments on commit f10e425

Please sign in to comment.