summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorNikita Iashchenko <nikitai@google.com>2019-02-18 12:07:05 +0000
committerNikita Iashchenko <nikitai@google.com>2019-02-18 16:32:13 +0000
commite2a5e54ff9929057692d3356e2fa7f51c57e4b25 (patch)
tree0f06fc99ca9aefd38ba20855170913d1e56a97ca /annotations/generate_annotated_java_files.py
parentc690caf0823f5b89ab46798cfa1417ad1af79843 (diff)
Improve presubmit repo hook to check license headers
This CL adds a presubmit check for files under {xml,json}/src/main to ensure they have no GPL license; and narrows luni/ and ojluni/ to luni/src/main and ojluni/src/main for some speed optimization. Renamed checkstyle-luni check to checkstyle-luni-json-xml to have these directories checked during single checkstyle run to save some time. Bug: 38121042 Test: Added forbidden licenses to luni/ and ojluni/, run pre-upload.py and got the expected failure. Test: Added forbidden licenses to json/ and xml/, run pre-upload.py and got the expected failure. Change-Id: Ibeea9cce6634ac59a4ba1d334ad031515ab862ce
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions