gcc-problem-matcher icon indicating copy to clipboard operation
gcc-problem-matcher copied to clipboard

Removing build path from files

Open misyltoad opened this issue 4 years ago • 2 comments

Hello!

I use meson + ninja for building my projects and that has ../ at the start of the file name, which isn't stripped so it doesn't pick up on the files.

Right now I've just bodged that into the regex here: https://github.com/Joshua-Ashton/gcc-problem-matcher but it might be something to look into to solve properly if Github allows it.

Thanks!

misyltoad avatar Feb 12 '21 12:02 misyltoad

Aah thanks for reporting this, I think removing all ../ from the start of the paths is probably a decent solution. Also, it looks like Github allows fromPath in the problem matcher json, maybe this can be offered as an option in the action?

ammaraskar avatar Feb 12 '21 16:02 ammaraskar

Possibly, will test that out tomorrow

misyltoad avatar Feb 12 '21 18:02 misyltoad