mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-05-10 07:15:43 +02:00
14 lines
384 B
Makefile
14 lines
384 B
Makefile
ROLES_DIR=./roles
|
|
OUTPUT=./group_vars/all/11_applications.yml
|
|
SCRIPT=./cli/generate_defaults_applications.py
|
|
|
|
build:
|
|
@echo "🔧 Generating $(OUTPUT) from roles in $(ROLES_DIR)..."
|
|
@mkdir -p $(dir $(OUTPUT))
|
|
python3 $(SCRIPT) --roles-dir $(ROLES_DIR) --output-file $(OUTPUT)
|
|
@echo "✅ Output written to $(OUTPUT)"
|
|
|
|
install: build
|
|
|
|
test:
|
|
python -m unittest discover -s tests/unit
|