mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Use workspace definitions for all crates and update to the 2021 edition (#32544)
This commit is contained in:
parent
42b09d483f
commit
4a7f3bac7c
60 changed files with 283 additions and 268 deletions
|
@ -465,6 +465,8 @@ def check_toml(file_name, lines):
|
|||
yield (idx + 1, "found asterisk instead of minimum version number")
|
||||
for license_line in licenses_toml:
|
||||
ok_licensed |= (license_line in line)
|
||||
if "license.workspace" in line:
|
||||
ok_licensed = True
|
||||
if not ok_licensed:
|
||||
yield (0, ".toml file should contain a valid license.")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue