feat: added build pristine, build configuration, erase and recover

This commit is contained in:
unai committed 2026-10-12 11:51:45 +02:00
1 parent 80a2c4d56f
commit 5b1d640d4b
11 files changed
+636 -80

No files matched your search

+33
View File
@@ -0,0 +1,33 @@
{
"$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"] }
}
}
}
}