Skip to content

Commit 379b16e

Browse files
committed
(minor) build.lisp with uiop:dump-image
1 parent 3bc9fb1 commit 379b16e

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

content/tutorial/build.lisp

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22

33
(ql:quickload "myproject")
44

5-
(sb-ext:save-lisp-and-die "myproject"
6-
:executable t
7-
:toplevel #'myproject::main
8-
:compression 9)
5+
(setf uiop:*image-entry-point* #'myproject::main)
6+
7+
(uiop:dump-image "myproject" :executable t :compression 9)
8+
9+
#|
10+
;; The same as:
11+
12+
(sb-ext:save-lisp-and-die "myproject" :executable t :compression 9
13+
:toplevel #'myproject::main)
14+
15+
|#

0 commit comments

Comments
 (0)