refactor: functional separation with deploy/, recipe-generator/, and bin/

- deploy/: deployment bash scripts (4 files)
- recipe-generator/: recipe generation tool (Python + YAML configs)
- bin/: executable wrappers (single generate-recipe entry point)
- Updated deploy.sh, README.md, DEVELOPMENT.md, DEVELOPMENT_QUICK.md
- Updated tests/test_recipe_generator.py and tests/integration/test_integration.py
- Updated CI workflow and Makefile paths
- All 41 tests pass
This commit is contained in:
Lukas Greve
2026-03-25 09:34:00 +01:00
parent 00c4356ff3
commit 3782777058
25 changed files with 55 additions and 51 deletions
+7 -5
View File
@@ -3,11 +3,9 @@
import pytest
from pathlib import Path
import sys
import os
# Add scripts directory to path
SCRIPTS_DIR = Path(__file__).parent.parent / 'scripts'
sys.path.insert(0, str(SCRIPTS_DIR))
RECIPE_GENERATOR_DIR = Path(__file__).parent.parent / 'recipe-generator'
sys.path.insert(0, str(RECIPE_GENERATOR_DIR))
from generate_recipe import RecipeGenerator
@@ -19,7 +17,11 @@ class TestRecipeGenerator:
def setup_method(self):
"""Set up test fixtures."""
self.generator = RecipeGenerator(Path('ingredients'), Path('recipe_templates.yaml'))
project_root = Path(__file__).parent.parent
self.generator = RecipeGenerator(
project_root / 'ingredients',
project_root / 'recipe-generator' / 'recipe_templates.yaml'
)
def test_template_loading(self):
"""Test that templates are loaded correctly."""