2021-08-12 13:37:49 -07:00
|
|
|
(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"
|
2021-08-23 14:49:46 -07:00
|
|
|
:depends-on ("asdf" "easy-routes" "cl-ppcre" "parse-float" "alexandria" "cl-json"
|
|
|
|
#+sbcl"sb-sprof")
|
2021-08-14 08:15:42 -07:00
|
|
|
:serial t
|
|
|
|
:components ((:file "helpers")
|
2021-08-21 04:04:22 -07:00
|
|
|
(:file "graphviz")
|
2021-08-14 08:15:42 -07:00
|
|
|
(:file "serialize-lib")
|
2021-08-22 06:58:32 -07:00
|
|
|
(:module "tracks"
|
|
|
|
:serial t
|
|
|
|
:components ((:file "package")
|
|
|
|
(:file "conns")
|
|
|
|
(:file "registration")
|
|
|
|
(:file "database")
|
|
|
|
(:file "path")))
|
2021-08-14 08:15:42 -07:00
|
|
|
(:file "interlocking")
|
2021-08-12 13:37:49 -07:00
|
|
|
(:file "server-wrapper")
|
2021-08-14 08:15:42 -07:00
|
|
|
(:file "dataserver"))
|
2021-08-12 13:37:49 -07:00
|
|
|
;; https://lispcookbook.github.io/cl-cookbook/scripting.html
|
|
|
|
:build-operation "program-op"
|
|
|
|
:build-pathname "ywatds"
|
|
|
|
:entry-point "ywatds:program-entry")
|
2021-08-13 01:03:50 -07:00
|
|
|
|
|
|
|
#+sb-core-compression
|
|
|
|
(defmethod asdf:perform ((o asdf:image-op) (c asdf:system))
|
|
|
|
(uiop:dump-image (asdf:output-file o c) :executable t :compression t))
|