mirror of
				https://github.com/veops/cmdb.git
				synced 2025-11-04 13:46:17 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			492 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			492 B
		
	
	
	
		
			Python
		
	
	
	
	
	
.PHONY: docs test
 | 
						|
 | 
						|
help:
 | 
						|
	@echo "  env         create a development environment using virtualenv"
 | 
						|
	@echo "  deps        install dependencies using pip"
 | 
						|
	@echo "  clean       remove unwanted files like .pyc's"
 | 
						|
	@echo "  lint        check style with flake8"
 | 
						|
	@echo "  test        run all your tests using py.test"
 | 
						|
 | 
						|
env:
 | 
						|
	sudo easy_install pip && \
 | 
						|
	pip install pipenv &&
 | 
						|
	make deps
 | 
						|
 | 
						|
deps:
 | 
						|
	pipenv install --dev
 | 
						|
 | 
						|
clean:
 | 
						|
	python manage.py clean
 | 
						|
 | 
						|
lint:
 | 
						|
	flake8 --exclude=env .
 | 
						|
 | 
						|
test:
 | 
						|
py.test tests |