mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-23 01:25:57 +02:00
lint: Add 'license' checker.
* guix/scripts/lint.scm (check-license): New procedure.
(%checkers): Add 'license' checker.
* tests/lint.scm ("license: invalid license"): New test.
This commit is contained in:
@@ -329,6 +329,12 @@ requests."
|
||||
(check-derivation pkg)))
|
||||
"failed to create derivation")))
|
||||
|
||||
(test-assert "license: invalid license"
|
||||
(string-contains
|
||||
(with-warnings
|
||||
(check-license (dummy-package "x" (license #f))))
|
||||
"invalid license"))
|
||||
|
||||
(test-assert "home-page: wrong home-page"
|
||||
(->bool
|
||||
(string-contains
|
||||
|
||||
Reference in New Issue
Block a user