Since August, on master, SwiftPM builds using llbuild as a library instead of through an executable, which allows it to access more information on the progress of the build and more importantly to generate its own command-line output. For now, SwiftPM just replicated the build output that the llbuild executable used to generate, but I'd like to move forward and provide a more pleasant and useful progress animation.
Before I go forward with this, I'd like to get some feedback on what kind of presentation people would prefer. The two important questions are:
- Should it be percentage or item based? (item = compilation unit)
- Should it display a progress bar?
To help discussion, here are two examples that I could quickly capture:
item based without a progress bar (ala Ninja)
percentage based + progress bar (ala SwiftPM tests)
Please disregard the fact that the Ninja example updates per-file and that the SwiftPM example updated per-module, this is something that will be improved on independently.