Suppose that you already have a file
that you use to compile and load your application. Then you can create a suitable delivery script with the help of the Application Builder.
To create the new delivery script:
This displays a dialog as shown in The New Delivery script dialog.
compile-and-load-my-app.lispin the Loading script pane. You can use the button to locate the file.
Note: Level defaults to 0, which is a good choice the first time you deliver your application. You will probably want to increase the Delivery level later, for reasons explained in the LispWorks Delivery User Guide .
Figure 27.2 The New Delivery script dialog
The Application Builder now displays the path to the new script in its Build script pane. The new script will load patches, load your file, and then call
, something like this:
(deliver 'my-start-function "my-app" 0)
Note: the script will be more complex for Cocoa applications.
Note: your delivery script should load all the code needed for the application. Do not rely on your personal initialization or siteinit files (which are ordinarily loaded into LispWorks), because these initialization files will not be used when building the application.
LispWorks IDE User Guide (Macintosh version) - 25 Nov 2011