From 7b2ef3fdff128ba65c4746de3c0b0f04657ebd5b Mon Sep 17 00:00:00 2001 From: Idir Lankri Date: Thu, 7 Apr 2022 16:15:24 +0200 Subject: [PATCH] OCaml.gitignore: Ignore binary files containing info about compilation See https://ocaml.org/manual/comp.html#s:comp-overview. --- OCaml.gitignore | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/OCaml.gitignore b/OCaml.gitignore index d134abd5..250caf74 100644 --- a/OCaml.gitignore +++ b/OCaml.gitignore @@ -8,6 +8,13 @@ *.cmxs *.cmxa +# Files containing detailed information about the compilation (generated +# by `ocamlc`/`ocamlopt` when invoked using the option `-bin-annot`). +# These files are typically useful for code inspection tools +# (e.g. Merlin). +*.cmt +*.cmti + # ocamlbuild and Dune default working directory _build/