Skip to content

Commit f387698

Browse files
author
Tim 'mithro' Ansell
committed
Adding support for spice files.
Signed-off-by: Tim 'mithro' Ansell <tansell@google.com>
1 parent 13e73a7 commit f387698

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

main.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,8 @@ func licenseHeader(path string, tmpl *template.Template, data licenseData) ([]by
307307
lic, err = executeTemplate(tmpl, data, "", "// ", "")
308308
case ".ml", ".mli", ".mll", ".mly":
309309
lic, err = executeTemplate(tmpl, data, "(**", " ", "*)")
310+
case ".hspice", ".spice", ".cdl":
311+
lic, err = executeTemplate(tmpl, data, "", "* ", "")
310312
default:
311313
// handle various cmake files
312314
if base == "cmakelists.txt" || strings.HasSuffix(base, ".cmake.in") || strings.HasSuffix(base, ".cmake") {

0 commit comments

Comments
 (0)