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:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user