Add license checking (#1353)
It's stated in the Guidelines that all contributions must be under the Apache License 2.0. To avoid potential mistakes from manual reviews, this patch adds the check-license.py script to automatically check all source files for license headers. Travis CI is also configured to run the check. Fallout: it turned out that some files already in the code base either miss a license header or have some minor typo differences. The patch fixes up some of these deficiences. JerryScript-DCO-1.0-Signed-off-by: Akos Kiss akiss@inf.u-szeged.hu
This commit is contained in:
@@ -27,5 +27,6 @@ BUILD_SCRIPT = path.join(TOOLS_DIR, 'build.py')
|
||||
CPPCHECK_SCRIPT = path.join(TOOLS_DIR, 'check-cppcheck.sh')
|
||||
SIGNED_OFF_SCRIPT = path.join(TOOLS_DIR, 'check-signed-off.sh')
|
||||
VERA_SCRIPT = path.join(TOOLS_DIR, 'check-vera.sh')
|
||||
LICENSE_SCRIPT = path.join(TOOLS_DIR, 'check-license.py')
|
||||
TEST_RUNNER_SCRIPT = path.join(TOOLS_DIR, 'runners/run-test-suite.sh')
|
||||
UNITTEST_RUNNER_SCRIPT = path.join(TOOLS_DIR, 'runners/run-unittests.sh')
|
||||
|
||||
Reference in New Issue
Block a user