mirror of
				https://github.com/kevinveenbirkenbach/computer-playbook.git
				synced 2025-10-31 18:29:21 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			503 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			503 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:
 | |
| 	@echo "Executing Unit Tests:"
 | |
| 	python -m unittest discover -s tests/unit
 | |
| 	@echo "Executing Integration Tests:"
 | |
| 	python -m unittest discover -s tests/integration
 |