gregschmit / omake

An extra implementation of make.
MIT License
17 stars 1 forks source link

Add first implementation of getting line from context on warn and error #9

Closed xadaemon closed 1 year ago

xadaemon commented 1 year ago

I'm opening this PR as a RFC on this first implementation of this, this is a brutish way to do it but should work just fine.

This PR aims to solve #2

xadaemon commented 1 year ago

Caveat of this simple implementation: if there is no path in the context it will not provide the offending line.

xadaemon commented 1 year ago

Can you approve the workflow to run to validate the code?

xadaemon commented 1 year ago

Any more points you want to discuss on this one?

gregschmit commented 1 year ago

Nope, lgtm; thank you!