This directory contains all the data that the licenses_cpp executable needs to validate the engine repository. There are 3 main divisions of this data:
All regex are in the re2 format.
The file format for the include.txt is a list of regular expressions that describe the files that should be considered for checking. Each regex is required to be a full match to be considered.
Lines prefixed with # will be treated as comments. Comments trailing # on lines that start with other characters are not yet supported.
The exclude file format is in the same format as the include.txt. It‘s important to note that the regex’s must be full matches on the relative paths to the “--working_dir” path.
Each file in the data/ directory represents an accepted license which can show up in source code or in its own LICENSE file. The format is the following:
\s+.match("\[(.*)\]", "[hi]") -> "[]".This directory structure needs to match the one found in the working directory. License files here will be added verbatim to the output.