Skip to content

Commit

Permalink
Merge pull request #15 from atgreen/main
Browse files Browse the repository at this point in the history
Use the new (ocicl-runtime:system-list) function.
  • Loading branch information
cxxxr authored May 28, 2024
2 parents 0df533d + f10e425 commit 9fc7f1e
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 9fc7f1e

Please sign in to comment.