21.2. Running Masonry Scripts

21.2.1. bootstrap_visit.py

The bootstrap_visit.py 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:

python bootstrap_visit.py opts/<file-name>.json

21.2.2. masonry_view_log.py

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

python masonry_view_log.py _logs/<log-fle>.json
../../_images/log.png

Fig. 21.3 Mansonry Logs in HTML format