mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-11-03 19:58:14 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			341 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			341 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
# Makefile for j2render
 | 
						|
 | 
						|
TEMPLATE=./templates/vars/applications.yml.j2
 | 
						|
OUTPUT=./group_vars/all/07_applications.yml
 | 
						|
 | 
						|
build:
 | 
						|
	@echo "🔧 Building rendered file from $(TEMPLATE)..."
 | 
						|
	@mkdir -p $(dir $(OUTPUT))
 | 
						|
	j2r $(TEMPLATE) $(OUTPUT)
 | 
						|
	@echo "✅ Output written to $(OUTPUT)"
 | 
						|
 | 
						|
install: build
 | 
						|
 | 
						|
test:
 | 
						|
	python -m unittest discover -s tests/unit
 |