-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Print out a report of times. #446
Comments
Interesting idea, i will check it out. few notes however,
|
@Ben-PH I just pushed to the development branch the time summary. [cargo-make] INFO - =====Time Summary=====
[cargo-make] INFO - install-rustfmt: 0.00% 0.01 seconds
[cargo-make] INFO - format: 0.63% 1.44 seconds
[cargo-make] INFO - format-flow: 0.00% 0.00 seconds
[cargo-make] INFO - build: 8.44% 19.37 seconds
[cargo-make] INFO - test: 19.65% 45.11 seconds
[cargo-make] INFO - test-thread-safe: 19.66% 45.12 seconds
[cargo-make] INFO - test-single-threaded: 15.98% 36.67 seconds
[cargo-make] INFO - test-multi-phases-cleanup: 0.00% 0.00 seconds
[cargo-make] INFO - test-multi-phases-flow: 35.65% 81.84 seconds
[cargo-make] INFO - test-flow: 0.00% 0.00 seconds
[cargo-make] INFO - default: 0.00% 0.00 seconds To make it work you will need to either pass the new --time-summary flag or add to the makefile config section the time_summary=true flag. Any feedback is welcome 😃 |
this is now released in the new cargo-make version 0.32.2 |
Features Description
The outputs of the commands being run are independent of the overall build script. As a result, the extra commands (such as running
time cargo make $TASK
) or tasks are required to get information on the the build script as a whole. This feature would provide an option that would have something like the following printed at the end.Describe the solution you'd like
running the above example with
cargo make build
, an output might look like thisThe text was updated successfully, but these errors were encountered: