deliver.lisp
) that compiles and loads the program, and then calls deliver: (in-package "CL-USER")
(load-all-patches)
(example-compile-file "delivery/hello/hello" :load t)
#+:cocoa
(example-compile-file
"configuration/macos-application-bundle" :load t)
(deliver 'hello-world
#+:cocoa
(write-macos-application-bundle
"~/Desktop/Hello.app"
;; Do not copy Lisp Source File
;; association from LispWorks.app
:document-types nil)
#-:cocoa "~/hello"
0
:interface :capi)
lispworks-6-0-0-x86-win32.exe -build deliver.lisp
On UNIX, Linux or FreeBSD type the following into a shell:
% lispworks-6-0-0-x86-linux -build deliver.lisp
Note: the image name varies between the supported platforms.
On Mac OS X, use Terminal.app. Ensure you're in the directory of the image first:
% cd "/Applications/LispWorks 6.0/LispWorks.app/Contents/MacOS"
% ./lispworks-6-0-0-macos-universal -build deliver.lisp
If you want to see the output, you can redirect the output with
>
to a file or use
|
, if it works on your system.
hello.exe
on Microsoft Windows,
hello
on UNIX/Linux/FreeBSD, and
Hello.app
on Mac OS X.
deliver.lisp
to specify a higher level argument in the call to deliver. Try changing it to 5 for the largest effect.