diff --git a/.wwhrd.yml b/.wwhrd.yml index cf16f60b..29c80222 100644 --- a/.wwhrd.yml +++ b/.wwhrd.yml @@ -10,3 +10,6 @@ allowlist: - ISC - WTFPL - 0BSD + +exceptions: + - github.com/pascaldekloe/name # CC0, not detected diff --git a/Makefile b/Makefile index eca028ef..b58d78af 100644 --- a/Makefile +++ b/Makefile @@ -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 cd console/frontend ; $(NPM) exec --no -- license-compliance \ --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 .PHONY: clean