Skip to content

The Build Script

The build script maintains the code that will go into an image.  The build script for a project generally contains the following types of code:

  • Source code files
  • Load lists, which are lists of source code files.
  • Magik components, which are named lists of source code and other files.
  • Patch lists, which contain bug fix code.

To access a build script, you must first open a project. The Project Explorer appears on the left side of the project window. Next, click the Build Script folder in the Project Explorer window.  The build script will appear in the Magician Editor on the right side of the of the project window, as shown below.

Magician will automatically maintain a build script for the project. Since Magician is a two-way tool, any changes that you make manually to the build script file (like adding a new component) will automatically be shown in the Project Explorer window.

To build logic into the build script, you must type it in manually.  For example, to ??????, type the following:

;ldskjfldskjfkdf;ldsflkjdflkdslksdflkdsjflkdsjfklsd Maybe try sticking in an if/then statement