Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(forc-pkg): Improve workspace build summary (FuelLabs#4188)
*This PR is based on FuelLabs#4187 - will rebase to master once it lands.* --- ## Description Previously when building a large workspace, the build would often end followed by a bunch of lines saying "Bytecode size is ..." or "Bytecode hash is ...", without any indication of which workspace member the information was associated with. This changes the behaviour to first output a "Finished" line, followed by build output summary info clearly separated by the workspace member. Closes FuelLabs#3779. Here's an example of building our `examples/` workspace previously: ![Screenshot from 2023-02-26 21-48-18](https://user-images.githubusercontent.com/4587373/221406514-b4ee406b-7804-40e7-8710-a2febc902032.png) And here's the output with this PR: ![Screenshot from 2023-02-26 21-49-14](https://user-images.githubusercontent.com/4587373/221406525-b709749d-22ba-4677-ad39-8eec15c5392d.png) ## Checklist - [x] I have linked to any relevant issues. - [x] I have commented my code, particularly in hard-to-understand areas. - [x] I have updated the documentation where relevant (API docs, the reference, and the Sway book). - [x] I have added tests that prove my fix is effective or that my feature works. - [x] I have added (or requested a maintainer to add) the necessary `Breaking*` or `New Feature` labels where relevant. - [x] I have done my best to ensure that my PR adheres to [the Fuel Labs Code Review Standards](https://github.com/FuelLabs/rfcs/blob/master/text/code-standards/external-contributors.md). - [x] I have requested a review from the relevant team or maintainers.
- Loading branch information