Skip to content

Commit

Permalink
Merge pull request #22 from ale64bit/master
Browse files Browse the repository at this point in the history
Add OCaml files to list of accepted extensions
  • Loading branch information
x1ddos committed Sep 7, 2019
2 parents 22550fa + 0df0829 commit be12574
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, "<?php", "// ", "?>")
case ".ml", ".mli", ".mll", ".mly":
lic, err = prefix(tmpl, data, "(**", " ", "*)")
}
if err != nil || lic == nil {
return err
Expand Down

0 comments on commit be12574

Please sign in to comment.