advent.asd @ 75998992ab3c

The Great Packaging
author Steve Losh <steve@stevelosh.com>
date Sat, 15 Dec 2018 16:52:29 -0500
parents 66e86b59fc60
children d5468dc3769d
(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"))))


(asdf:defsystem :advent
  :description "Advent of Code solutions"

  :author "Steve Losh <steve@stevelosh.com>"

  :license "MIT"

  :depends-on (

               :1am
               :alexandria
               :cl-digraph
               :cl-digraph.dot
               :cl-interpol
               :cl-ppcre
               :iterate
               :losh
               :named-readtables
               :split-sequence
               :str

               )

  :serial t
  :components ((:module "vendor" :serial t
                :components ((:file "quickutils-package")
                             (:file "quickutils")))
               (:file "package")
               (:module "src" :serial t
                :components ((:file "utils")
                             #+later (:module "2017" :serial t
                                      :components ((:file "number-spiral")
                                                   (:file "main")))
                             (:auto-module "2018")))))