2017/18 part 2
author |
Steve Losh <steve@stevelosh.com> |
date |
Fri, 06 Dec 2019 23:23:26 -0500 |
parents |
0a241f64eebb |
children |
baf889db8d40 |
(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
:beast
:cl-digraph
:cl-digraph.dot
:cl-interpol
:cl-ppcre
:iterate
:losh
:named-readtables
:pileup
: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")
(:module "2016" :serial t
:components ((:auto-module "days")))
(:module "2017" :serial t
:components ((:file "number-spiral")
(:file "knot-hash")
(:auto-module "days")))
(:module "2018" :serial t
:components ((:auto-module "days")))
(:module "2019" :serial t
:components ((:file "intcode")
(:auto-module "days")))))))