Skip to content

Commit cc5a02c

Browse files
committed
chore: fixed license-check
1 parent 2b891eb commit cc5a02c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Makefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ lint:
1414
@make -C docs lint
1515

1616
license-check:
17-
@go-licenses report ./... --ignore github.com/backup-blob/zfs-backup-blob,golang.org/x/sys/unix
17+
@go-licenses check ./... \
18+
--ignore $$(go list std | awk 'NR > 1 { printf(",") } { printf("%s",$$0) } END { print "" }'),github.com/backup-blob/zfs-backup-blob,golang.org/x/sys/unix,golang.org/x/sys/cpu
19+
--allowed_licenses="MIT,ISC,Apache-2.0,BSD-3-Clause,BSD-2-Clause"
1820

1921
format:
2022
@go fmt ./...

0 commit comments

Comments
 (0)