Add config for license-checker and Kokoro scripts.

The `license-checker` is a tool that verifies each file has contains a permitted license header.

See https://github.com/ben-clayton/license-checker for more information.
This commit is contained in:
Ben Clayton 2020-07-02 16:05:41 +01:00
parent 1d21270ebf
commit fb187f3063
5 changed files with 191 additions and 0 deletions

35
license-checker.cfg Normal file
View file

@ -0,0 +1,35 @@
{
"paths": [
{
"exclude": [
"_config.yml",
".*",
"*.md",
"CMakeSettings.json",
"known_good_khr.json",
"known_good.json",
"LICENSE.txt",
"make-revision",
"README-spirv-remap.txt",
"WORKSPACE",
"gtests/README.md",
"External/spirv-tools",
"Test/*",
"out/*",
"glslang/Include/revision.*",
"glslang/OSDependent/Web/glslang.*.js",
"glslang/MachineIndependent/glslang_tab.cpp",
"glslang/MachineIndependent/glslang_tab.cpp.h"
]
}
],
"licenses": [
"Apache-2.0-Header",
"BSD-2-Clause",
"BSD-3-Clause",
"MIT-0",
"MIT"
]
}