build: exception for license check of github.com/pascaldekloe/name

This commit is contained in:
Vincent Bernat
2024-11-23 21:12:06 +01:00
parent 2df8b5785b
commit c800bd2275
2 changed files with 4 additions and 1 deletions

View File

@@ -10,3 +10,6 @@ allowlist:
- ISC - ISC
- WTFPL - WTFPL
- 0BSD - 0BSD
exceptions:
- github.com/pascaldekloe/name # CC0, not detected

View File

@@ -224,7 +224,7 @@ licensecheck: console/frontend/node_modules | $(WWHRD) ; $(info $(M) check depen
$Q err=0 ; $(GO) mod vendor && $(WWHRD) --quiet check || err=$$? ; rm -rf vendor/ ; exit $$err $Q err=0 ; $(GO) mod vendor && $(WWHRD) --quiet check || err=$$? ; rm -rf vendor/ ; exit $$err
$Q cd console/frontend ; $(NPM) exec --no -- license-compliance \ $Q cd console/frontend ; $(NPM) exec --no -- license-compliance \
--production \ --production \
--allow "$$(sed -n 's/^ - //p' ../../.wwhrd.yml | paste -sd ";")" \ --allow "$$(sed -n '/^allowlist:/,/^[a-z]/p' ../../.wwhrd.yml | sed -n 's/^ - //p' | paste -sd ";")" \
--report detailed --report detailed
.PHONY: clean .PHONY: clean