aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bob.lisp5
-rw-r--r--cantedraw.asd11
2 files changed, 9 insertions, 7 deletions
diff --git a/bob.lisp b/bob.lisp
index 62ab05f..d9156d6 100644
--- a/bob.lisp
+++ b/bob.lisp
@@ -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))