diff options
author | Lukas Funke <lukas.funke@weidmueller.com> | 2023-11-02 16:53:12 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-11-06 16:39:47 +0000 |
commit | 1765acc8bdc08e392daa8b77add8b4ce1a9e70b6 (patch) | |
tree | 2c76bcdf9965b83944cd2d3b26053a23de3dd65f /scripts | |
parent | 3337b9ec069a21b87676a90d0f7819e6a8dc856a (diff) | |
download | openembedded-core-1765acc8bdc08e392daa8b77add8b4ce1a9e70b6.tar.gz |
recipetool: Ignore *.go files while scanning for licenses
Signed-off-by: Lukas Funke <lukas.funke@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lib/recipetool/create.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lib/recipetool/create.py b/scripts/lib/recipetool/create.py index 143bc63e9d..293198d1c8 100644 --- a/scripts/lib/recipetool/create.py +++ b/scripts/lib/recipetool/create.py @@ -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: |