Closed DamienCassou closed 6 years ago
$(EMAKE) compile ~error-on-warn
Expected: an non-zero exit status Actual: a zero exit statut
The function batch-byte-compile does exit with non-zero exit status but emake uses byte-compile-file which doesn't.
batch-byte-compile
byte-compile-file
A workaround is to change (string-match "^.*:Warning: \\(.*\\)$" (buffer-string)) to also match Error:.
(string-match "^.*:Warning: \\(.*\\)$" (buffer-string))
Error:
$(EMAKE) compile ~error-on-warn
Expected: an non-zero exit status Actual: a zero exit statut
The function
batch-byte-compile
does exit with non-zero exit status but emake usesbyte-compile-file
which doesn't.A workaround is to change
(string-match "^.*:Warning: \\(.*\\)$" (buffer-string))
to also matchError:
.