mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-05-10 15:25:43 +02:00
16 lines
408 B
Makefile
16 lines
408 B
Makefile
# Makefile for j2render
|
|
|
|
ROLES_DIR=./roles
|
|
OUTPUT=./group_vars/all/11_applications.yml
|
|
SCRIPT=./cli/generate_default_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
|