瀏覽代碼

Update package schema for new depends strings

default_compile_flags
vector-of-bool 4 年之前
父節點
當前提交
f47b0c134f
共有 1 個文件被更改,包括 3 次插入7 次删除
  1. +3
    -7
      res/package-schema.json

+ 3
- 7
res/package-schema.json 查看文件

@@ -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": {

Loading…
取消
儲存