checkmake
checkmake copied to clipboard
write formatter for syntastic compatible output
this would be awesome to integrate with vim and syntastic
Making the output GCC-compatible (like mypy and shellcheck -f gcc) would allow
easy integration with many tools beyond syntastic.
The GCC output format is %filename:%line:%column: %severity: %message. Severity
isn't too important; we can start by simply labeling everything as warning
@Seirdy Would something like this work:
checkmake "/path/to/Makefile" --format="/path/to/Makefile:{{ .LineNumber }}:0: warning {{ .Rule }}:{{ .Violation }}
"
(note the closing double quote is on a separate line intentionally; otherwise, it all prints on one line (even if '\n' or "\n" is included in the format string)