mirror of
https://github.com/YunoHost/package_linter.git
synced 2024-09-03 20:06:12 +02:00
[enh] manifest: add check of 'requirements' key.
This commit is contained in:
parent
201b4bf14a
commit
f223d7a571
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ def check_manifest(manifest):
|
|||
print_right("Manifest syntax is good.")
|
||||
except: print_wrong("Syntax (comma) or encoding issue with manifest.json. Can't check file."); return
|
||||
i, fields = 0, ("name", "id", "packaging_format", "description", "url", \
|
||||
"license", "maintainer", "multi_instance", "services", "arguments") # "requirements"
|
||||
"license", "maintainer", "requirements", "multi_instance", "services", "arguments")
|
||||
while (i < len(fields)):
|
||||
if fields[i] in manifest: print_right("\"" + fields[i] + "\" field is present")
|
||||
else: print_wrong("\"" + fields[i] + "\" field is missing")
|
||||
|
|
Loading…
Reference in a new issue