Skip to content

Commit ee4c90a

Browse files
committed
Arm backend: Exclude build metadata from license checks
Treat BUCK and TARGETS files as build metadata in the Arm pre-push license check so they do not need copyright headers. Signed-off-by: Per Held <per.held@arm.com> Change-Id: I4b3bbd1e03ba4b9c38fd06225156344985f0cc70
1 parent ba6074c commit ee4c90a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backends/arm/scripts/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ for COMMIT in ${COMMITS}; do
177177
for committed_file in "${license_files[@]}"; do
178178
# Skip files with certain extensions
179179
case "$committed_file" in
180-
*.md|*.md.in|*.json|*.yml|*.yaml|*.cmake|*.patch|.gitignore|*.bzl)
180+
*.md|*.md.in|*.json|*.yml|*.yaml|*.cmake|*.patch|.gitignore|*.bzl|BUCK|*/BUCK|TARGETS|*/TARGETS)
181181
echo -e "${INFO} Skipping license check for ${committed_file} (excluded extension)"
182182
continue
183183
;;

0 commit comments

Comments
 (0)