On Friday, 22 February 2019 at 08:36:24 UTC, FeepingCreature wrote:
https://gist.github.com/FeepingCreature/6c67479c99bc0f20544d1e455622ae82

Usage: DMD=<path> progress-dmd <args>

The script sets -v and then uses the code and semantic stages logged in the output to paint a cute little ANSI-colored progress bar, with one character for every file listed on the command line.

Problems:

- lots of time spent in function compilation cannot be cleanly attributed to a source module - sometimes with very long progress bars, regular compiler output can leave pieces of progress bar behind
 - colored progress bar painting is surprisingly hard

Nice idea awesome stuff!

Cheers,

Stefan

Reply via email to