mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
recipetool: Ignore *.go files while scanning for licenses
(From OE-Core rev: 1765acc8bdc08e392daa8b77add8b4ce1a9e70b6) Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
b2c07c2501
commit
f7f304fa3e
|
@ -1212,7 +1212,7 @@ def guess_license(srctree, d):
|
|||
|
||||
licenses = []
|
||||
licspecs = ['*LICEN[CS]E*', 'COPYING*', '*[Ll]icense*', 'LEGAL*', '[Ll]egal*', '*GPL*', 'README.lic*', 'COPYRIGHT*', '[Cc]opyright*', 'e[dp]l-v10']
|
||||
skip_extensions = (".html", ".js", ".json", ".svg", ".ts")
|
||||
skip_extensions = (".html", ".js", ".json", ".svg", ".ts", ".go")
|
||||
licfiles = []
|
||||
for root, dirs, files in os.walk(srctree):
|
||||
for fn in files:
|
||||
|
|
Loading…
Reference in New Issue
Block a user