mirror of
				https://github.com/github/octodns.git
				synced 2024-05-11 05:55:00 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			32 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/sh
 | |
| 
 | |
| set -e
 | |
| 
 | |
| cd "$(dirname "$0")/.."
 | |
| 
 | |
| echo "## bootstrap ###################################################################"
 | |
| script/bootstrap
 | |
| 
 | |
| if [ -z "$VENV_NAME" ]; then
 | |
|     VENV_NAME="env"
 | |
| fi
 | |
| 
 | |
| . "$VENV_NAME/bin/activate"
 | |
| 
 | |
| echo "## environment & versions ######################################################"
 | |
| python --version
 | |
| pip --version
 | |
| 
 | |
| echo "## clean up ####################################################################"
 | |
| find octodns tests -name "*.pyc" -exec rm {} \;
 | |
| rm -f *.pyc
 | |
| echo "## begin #######################################################################"
 | |
| # For now it's just lint...
 | |
| echo "## lint ########################################################################"
 | |
| script/lint
 | |
| echo "## formatting ##################################################################"
 | |
| script/format --check || (echo "Formatting check failed, run ./script/format" && exit 1)
 | |
| echo "## tests/coverage ##############################################################"
 | |
| script/coverage
 | |
| echo "## complete ####################################################################"
 |