kriomant/atom-build-ninja

error matching is very fragile

Opened this issue · 0 comments

Right now, error matching is looking for clang / gcc like error message. However, it breaks if you have a non English locale as "error" gets translated to whatever user language in the error line to match (for French, it's ../src/Application.cpp:46:74: erreur: 'whatever' n'est pas déclaré

Using generic regex to match for error is simple, but very fragile

Can you add a config item for this (so we can specify regex to use: would be better) or at least a way to run the command with a valid environment variable LANG=en_US.UTF-8 ?