ywatds/ywatds.asd

31 lines
999 B
Common Lisp

(in-package :asdf-user)
(defsystem "ywatds"
:description "ywatds: simple server that pulls data from advtrains savefiles"
:version "0.1"
:author "Y.W."
:license "GNU AGPL 3 or later"
:depends-on ("asdf" "easy-routes" "cl-ppcre" "parse-float" "alexandria" "cl-json"
#+sbcl"sb-sprof")
:serial t
:components ((:file "helpers")
(:file "graphviz")
(:file "serialize-lib")
(:file "interlocking")
(:module "tracks"
:serial t
:components ((:file "package")
(:file "conns")
(:file "registration")
(:file "database")
(:file "path")))
(:file "server-wrapper")
(:file "dataserver"))
;; https://lispcookbook.github.io/cl-cookbook/scripting.html
:build-operation "program-op"
:build-pathname "ywatds"
:entry-point "ywatds:program-entry")
#+sb-core-compression
(defmethod asdf:perform ((o asdf:image-op) (c asdf:system))
(uiop:dump-image (asdf:output-file o c) :executable t :compression 9))