Remove dependency on deploy - use ASDF's program-op instead
This commit is contained in:
5
bob.lisp
5
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 ()
|
||||
|
||||
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user