mirror of
				https://github.com/graphql-python/graphene.git
				synced 2025-10-31 16:07:27 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			29 lines
		
	
	
		
			463 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
		
			463 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
| REBUILD_FLAG =
 | |
| 
 | |
| .PHONY: all
 | |
| all: venv test
 | |
| 
 | |
| .PHONY: venv
 | |
| venv: .venv.touch
 | |
| 	tox -e venv $(REBUILD_FLAG)
 | |
| 
 | |
| .PHONY: tests test
 | |
| tests: test
 | |
| test: .venv.touch
 | |
| 	tox $(REBUILD_FLAG)
 | |
| 
 | |
| .venv.touch: setup.py requirements-dev.txt
 | |
| 	$(eval REBUILD_FLAG := --recreate)
 | |
| 	touch .venv.touch
 | |
| 
 | |
| .PHONY: install-hooks
 | |
| install-hooks:
 | |
| 	tox -e pre-commit -- install -f --install-hooks
 | |
| 
 | |
| .PHONY: clean
 | |
| clean:
 | |
| 	find . -iname '*.pyc' -delete
 | |
| 	rm -rf .tox
 | |
| 	rm -rf ./venv-*
 | |
| 	rm -f .venv.touch
 |