From 0df0829f352651a2dfb1e179254e1507f4b81512 Mon Sep 17 00:00:00 2001 From: Alejandro Lopez Date: Fri, 6 Sep 2019 11:56:11 -0400 Subject: [PATCH] Add OCaml files to list of accepted extensions --- main.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.go b/main.go index 270f28b..0f30603 100644 --- a/main.go +++ b/main.go @@ -156,6 +156,8 @@ func addLicense(path string, fmode os.FileMode, tmpl *template.Template, data *c lic, err = prefix(tmpl, data, "") case ".php": lic, err = prefix(tmpl, data, "") + case ".ml", ".mli", ".mll", ".mly": + lic, err = prefix(tmpl, data, "(**", " ", "*)") } if err != nil || lic == nil { return err