up
This commit is contained in:
2
Makefile
2
Makefile
@@ -3,7 +3,7 @@
|
|||||||
APP=addlicense
|
APP=addlicense
|
||||||
GROUP=devops
|
GROUP=devops
|
||||||
REVISION=""
|
REVISION=""
|
||||||
VERSION=1.1.1$(REVISION)
|
VERSION=1.1.2$(REVISION)
|
||||||
DOCKER_REGISTRY=harbor.avroid.tech
|
DOCKER_REGISTRY=harbor.avroid.tech
|
||||||
|
|
||||||
all:
|
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, "", "% ", "")
|
lic, err = executeTemplate(tmpl, data, "", "% ", "")
|
||||||
case ".hs", ".sql", ".sdl":
|
case ".hs", ".sql", ".sdl":
|
||||||
lic, err = executeTemplate(tmpl, data, "", "-- ", "")
|
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, "<!--", " ", "-->")
|
lic, err = executeTemplate(tmpl, data, "<!--", " ", "-->")
|
||||||
case ".php":
|
case ".php":
|
||||||
lic, err = executeTemplate(tmpl, data, "", "// ", "")
|
lic, err = executeTemplate(tmpl, data, "", "// ", "")
|
||||||
|
|||||||
Reference in New Issue
Block a user