progress-dmd: compilation with a progress bar
Stefan Koch
uplink.coder at googlemail.com
Sat Feb 23 18:27:24 UTC 2019
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
More information about the Digitalmars-d-announce
mailing list