gulachek / esmakefile

Make based build system in JavaScript
MIT License
0 stars 0 forks source link

Access console output programmatically #52

Closed gulachek closed 1 month ago

gulachek commented 1 month ago

I'm writing a module that abstracts C/C++ building using esmakefile. I'm setting up integration tests to actually compile/run the programs. The updateTarget function works to build, but when there are compiler errors that I'm logging to the stream, it's tough to diagnose what's going on. Can there be an API, even perpetually experimental, that exposes the console output to make this easier?