yallop / ocaml-ctypes

Library for binding to C libraries using pure OCaml
MIT License
363 stars 95 forks source link

Makefile: Fail fast in case of errors #714

Closed houseofsuns closed 1 year ago

houseofsuns commented 1 year ago

The logic was wonky here. Now the recipe fails completely if the generation fails. Otherwise the build would continue and later complain about a missing ctypes_primitives.ml obscuring the initial failure.

yallop commented 1 year ago

Thank you!