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

  • progress-dmd: compilation with ... FeepingCreature via Digitalmars-d-announce

Reply via email to