Remove dependency on deploy - use ASDF's program-op instead

This commit is contained in:
2025-02-14 14:44:03 +00:00
parent 90ef834393
commit a1a9ae008a
2 changed files with 9 additions and 7 deletions

View File

@@ -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 ()

View File

@@ -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))