Bläddra i källkod

Update package schema for new depends strings

default_compile_flags
vector-of-bool 4 år sedan
förälder
incheckning
f47b0c134f
1 ändrade filer med 3 tillägg och 7 borttagningar
  1. +3
    -7
      res/package-schema.json

+ 3
- 7
res/package-schema.json Visa fil

@@ -32,13 +32,9 @@
"description": "JSON schema tag. Ignored by dds."
},
"depends": {
"type": "object",
"patternProperties": {
"^[a-z][a-z0-9_]*((\\.|-)[a-z0-9_]+)*$": {
"type": "string",
"description": "The version of the dependency. Must be a valid Semantic Version string",
"pattern": "^(0|[1-9]\\d*)\\.(0|[1-9]\\d*)\\.(0|[1-9]\\d*)(?:-((?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\\.(?:0|[1-9]\\d*|\\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\\+([0-9a-zA-Z-]+(?:\\.[0-9a-zA-Z-]+)*))?$"
}
"type": "array",
"items": {
"type": "string"
}
},
"test_driver": {

Laddar…
Avbryt
Spara