diff --git a/Makefile b/Makefile index d6867f43..795f29b3 100644 --- a/Makefile +++ b/Makefile @@ -98,8 +98,8 @@ check-license-headers: FORCE prepare-addlicense @bash -c 'shopt -s globstar; addlicense --check -ignore "vendor/**" -- **/*.go' check-dependency-licenses: FORCE - @printf "\e[1;36m>> go-licence-detector\e[0m\n" @if ! hash go-licence-detector 2>/dev/null; then printf "\e[1;36m>> Installing go-licence-detector...\e[0m\n"; go install go.elastic.co/go-licence-detector@latest; fi + @printf "\e[1;36m>> go-licence-detector\e[0m\n" @go list -m -mod=readonly -json all | go-licence-detector -includeIndirect -rules .license-scan-rules.json -overrides .license-scan-overrides.jsonl clean: FORCE