atilaneves / reggae

Build system in D, Python, Ruby, Javascript or Lua
BSD 3-Clause "New" or "Revised" License
182 stars 22 forks source link

Pass through stdin/err/out streams when running buildgen executable #280

Closed kinke closed 8 months ago

kinke commented 8 months ago

For a live output, as that run can take a while.

kinke commented 8 months ago

Tested manually; works.

The output is still a bit weird wrt. offsets, e.g.:

[Reggae]    +0.028s  Compiling metabuild binary buildgen
[Reggae]    +2.084s  Running the created binary to generate the build
[Reggae]    +0.002s  Creating dub instance   <=== starts from 0 again
[…]
[Reggae]     +9.32s  Got dub build information   <=== total buildgen runtime
[Reggae]    +11.65s  Build generated   <=== overall reggae runtime; ~2.1 seconds for the buildgen build + ~9.3 for running it