refactor: extract all generators into independent TOOLS/ modules

Each generator is now a standalone Go module with its own go.mod:

TOOLS/
├── yaml-generator/       ← service_spec_gen (API → YAML)
├── resource-generator/   ← gen_v2 (YAML → Go resources)
├── docs-generator/       ← docs_template_gen_v2 (YAML → Markdown)
├── ops-generator/        ← ops_docs_gen (ops documentation)
└── bin/                  ← pre-built binaries

All scripts updated to use TOOLS/bin/* binaries.
Removed old universal_rebuild/tools/ and universal_rebuild/bin/.
This commit is contained in:
“Naeel”
2026-07-05 09:57:13 +04:00
parent 4e668cda9f
commit a9491e13ea
30 changed files with 63 additions and 772 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ rm -f "${PROVIDER_DIR}/internal/resources_gen/registry.go"
# Step 1: generate Go resources from unified YAML.
echo "Generating Go resources from unified YAML..."
go run ./tools/gen_v2
${ROOT_DIR}/TOOLS/bin/resource-generator
# Step 2: generate documentation from unified YAML (new template).
echo "Generating documentation using new template generator..."