Builder should install Inspector and run it during builds
At the very least, it needs the ~/better.fyi/.private/statistics.json
file with global statistics that is generated by Inspector to update the home page.
Beyond that, we should be moving the local inquiry function of the Inspector (currently ./inquiry --local
) to ensure that the latest statistics are used during every build.
-
As an initial workaround, manually copy the statistics JSON file to the required place -
Update the Builder installer to add Inspector as a dependency (also evaluate what this means for the installation processes of the other components, including the main Better installer) -
Update Builder to use the Inspector to update statistics as part of the build process.