Files

34 lines
1.2 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "hego.nvim build configurations",
"type": "object",
"required": ["version", "configs"],
"properties": {
"version": { "type": "integer", "const": 1 },
"configs": {
"type": "object",
"additionalProperties": { "$ref": "#/definitions/config" }
}
},
"definitions": {
"stringList": { "type": "array", "items": { "type": "string" } },
"config": {
"type": "object",
"properties": {
"board": { "type": ["string", "null"] },
"conf_files": { "$ref": "#/definitions/stringList" },
"extra_conf_files": { "$ref": "#/definitions/stringList" },
"overlays": { "$ref": "#/definitions/stringList" },
"extra_overlays": { "$ref": "#/definitions/stringList" },
"snippets": { "$ref": "#/definitions/stringList" },
"optimization": { "enum": ["default", "size", "speed", "debug"] },
"debug_thread_info": { "type": "boolean" },
"extra_cmake": { "$ref": "#/definitions/stringList" },
"build_dir": { "type": "string" },
"generate_only": { "type": "boolean" },
"sysbuild": { "enum": ["default", "yes", "no"] }
}
}
}
}