diff options
-rw-r--r-- | bob.lisp | 5 | ||||
-rw-r--r-- | cantedraw.asd | 11 |
2 files changed, 9 insertions, 7 deletions
@@ -20,16 +20,13 @@ (defpackage bob (:use :cl) - (:export - :build :load-all)) + (:export :build :load-all)) (in-package :bob) -(ql:quickload :deploy) (asdf:load-asd (merge-pathnames "cantedraw.asd" (uiop:getcwd))) (defun build () - (push :deploy-console *features*) (asdf:make :cantedraw)) (defun load-all () diff --git a/cantedraw.asd b/cantedraw.asd index d3aa60d..b86503f 100644 --- a/cantedraw.asd +++ b/cantedraw.asd @@ -1,9 +1,14 @@ (asdf:defsystem :cantedraw - :depends-on (:deploy) :components ((:file "packages") (:file "lib.macros") (:file "lib.functions") (:file "cantedraw")) - :build-operation "deploy-op" - :build-pathname "cantedraw" + :build-operation "program-op" + :build-pathname "bin/cantedraw" :entry-point "cantedraw:start") + +#+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)) |