Max Nikulin <maniku...@gmail.com> writes:

> I was trying to modify publish.sh to collect errors up to a reasonable 
> number, a draft is attached. It can be improved further to save list of 
> failures to some file, so final step of .build.yml may be to check 
> whether this file is empty and to send a notification otherwise.
>
> Currently it just prints summary of failures. When allowed failures 
> count is exceeded, it fails immediately.
>
> ./publish.sh --maxfail 32

I am not sure why it would be useful to limit the number of errors to
anything other than 0/infinity.

Note that I just pushed an alternative (but very similar) change in
https://git.sr.ht/~bzg/worg/commit/b38a1f08

If you think that my commit can be improved, feel free to do it.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to