up
This commit is contained in:
2
Makefile
2
Makefile
@@ -3,7 +3,7 @@
|
||||
APP=addlicense
|
||||
GROUP=devops
|
||||
REVISION=""
|
||||
VERSION=1.1.1$(REVISION)
|
||||
VERSION=1.1.2$(REVISION)
|
||||
DOCKER_REGISTRY=harbor.avroid.tech
|
||||
|
||||
all:
|
||||
|
||||
2
main.go
2
main.go
@@ -290,7 +290,7 @@ func licenseHeader(path string, tmpl *template.Template, data licenseData) ([]by
|
||||
lic, err = executeTemplate(tmpl, data, "", "% ", "")
|
||||
case ".hs", ".sql", ".sdl":
|
||||
lic, err = executeTemplate(tmpl, data, "", "-- ", "")
|
||||
case ".html", ".xml", ".vue", ".wxi", ".wxl", ".wxs":
|
||||
case ".html", ".xml", ".vue", ".wxi", ".wxl", ".wxs", ".qrc":
|
||||
lic, err = executeTemplate(tmpl, data, "<!--", " ", "-->")
|
||||
case ".php":
|
||||
lic, err = executeTemplate(tmpl, data, "", "// ", "")
|
||||
|
||||
Reference in New Issue
Block a user