Running Masonry Scripts

The file contains all of the logic to execute the necessary steps for creating the macOS Disk Image File (DMG). It takes the JSON configuration file as an argument:

python3 opts/<file-name>.json

Once masonry is running, it will produce log files in the _logs directory. To view the logs in HTML format (see Figure 12), run the script. This script takes the log file as an argument:

python3 _logs/<log-fle>.json

Fig. 12 Mansonry Logs in HTML format

The script will launch a web browser to connect to a local web server. If you already have a web browser running on your system the script will use it. In this situation that web browser may not be able to connect to the local web server. If this happens you should exit your existing web browser and try again.