You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a wrapper that parses all make output. I am trying to create a log of make in this format:
`{cmd: 'echo "foo"', output: '"foo"'}`
The ##>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> lines are easy to parse out.
But when using --debug=verbose or --print-directory there are a lot of these message interspersed:
Reading makefiles...
remake: Entering directory '/Users/Vaughan/dev/fork/+bun/bun'
Updating makefiles...
Updating goal targets...
File 'vendor' does not exist.
File 'require' does not exist.
Must remake target 'require'.
Makefile:603: target 'require' does not exist
I would like every line from the make debug messages to be prefixed with [make] for easier parsing.
[make] Reading makefiles...
[make] remake: Entering directory '/Users/Vaughan/dev/fork/+bun/bun'
[make] Updating makefiles...
[make] Updating goal targets...
[make] File 'vendor' does not exist.
[make] File 'require' does not exist.
[make] Must remake target 'require'.
[make] Makefile:603: target 'require' does not exist
The text was updated successfully, but these errors were encountered:
One of the cool things about this project is that can be a springboard for trying out various ideas.
It looks like this line is the single place that would need to change.
Try changing that in a locally checkout out source. If that works and you are up for it see if you can work that into an additional flag passed on invocation.
I have a wrapper that parses all make output. I am trying to create a log of make in this format:
The
##>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
lines are easy to parse out.But when using
--debug=verbose
or--print-directory
there are a lot of these message interspersed:I would like every line from the make debug messages to be prefixed with
[make]
for easier parsing.The text was updated successfully, but these errors were encountered: