Created
October 11, 2022 18:00
-
-
Save dkochmanski/acc8f0057a9c77a231b7fd25deca329f to your computer and use it in GitHub Desktop.
asdf auto module
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; Written by me in 2018, recovered from https://github.com/sjl/rosalind/blob/ef6194d94c8fe85b53fd0a7811f7ba85c4809bb0/rosalind.asd#L1-L9 | |
(defclass auto-module (module) ()) | |
(defmethod component-children ((self auto-module)) | |
(mapcar (lambda (p) (make-instance 'cl-source-file :type "lisp" | |
:pathname p | |
:name (pathname-name p) | |
:parent (component-parent self))) | |
(directory-files (component-pathname self) | |
(make-pathname :directory nil :name *wild* :type "lisp")))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment