Build: Adds a license check task in the makefile (#106285)

Signed-off-by: bergquist <carl.bergquist@gmail.com>
This commit is contained in:
Carl Bergquist
2025-06-03 16:55:29 +02:00
committed by GitHub
parent 7957a9605c
commit 9a8555dead
5 changed files with 98 additions and 9 deletions
+6
View File
@@ -514,3 +514,9 @@ check-tparse:
.PHONY: help
help: ## Display this help.
@awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST)
# check licenses of used dependencies (can be run using build image using
# container/check-licenses target)
check-licenses:
license_finder --decisions-file .github/license_finder.yaml