mirror of
				https://github.com/OpenAPITools/openapi-generator.git
				synced 2025-10-31 08:43:45 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			353 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			353 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
|  #!/bin/bash
 | |
| 
 | |
| REQUIREMENTS_OUT=requirements.txt.log
 | |
| VENV=.venv
 | |
| 
 | |
| clean:
 | |
| 		rm -rf $(REQUIREMENTS_OUT)
 | |
| 		rm -rf $(VENV)
 | |
| 		rm -rf .pytest_cache
 | |
| 		rm -rf .coverage
 | |
| 		find . -name "*.py[oc]" -delete
 | |
| 		find . -name "__pycache__" -delete
 | |
| 
 | |
| venv: 
 | |
| 		python -m venv $(VENV)
 | |
| 
 | |
| test: clean venv
 | |
| 		bash ./test_python3.sh
 | |
| 
 | |
| test-all: clean venv
 | |
| 		bash ./test_python3.sh
 |