This commit is contained in:
@@ -7,6 +7,7 @@ failed=0
|
||||
while IFS= read -r -d '' file; do
|
||||
case $file in
|
||||
./.git|./.git/*|./LICENSES/*|./go.sum) continue ;;
|
||||
./third_party/go-webauthn/*|./third_party/go-webauthn.SHA256SUMS|./internal/webauthnvendored/*) continue ;;
|
||||
./starters/*|./examples/*) expected=0BSD ;;
|
||||
./scripts/*|./.gitea/*|./services/*) expected=AGPL-3.0-only ;;
|
||||
*) expected=MPL-2.0 ;;
|
||||
@@ -15,4 +16,6 @@ while IFS= read -r -d '' file; do
|
||||
echo "license mismatch: $file expected $expected" >&2; failed=1
|
||||
fi
|
||||
done < <(find . -type f -print0)
|
||||
./scripts/check-vendored-webauthn.sh || failed=1
|
||||
./scripts/check-embedded-webauthn.sh || failed=1
|
||||
exit "$failed"
|
||||
|
||||
Reference in New Issue
Block a user