|  |  | @ -1,25 +1,26 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  | #!/bin/bash -e |  |  |  | #!/bin/bash -e | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | # Install brew if required. |  |  |  | # Install brew if required | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  | if [[ $(command -v brew) == "" ]]; then |  |  |  | if [[ $(command -v brew) == "" ]]; then | 
			
		
	
		
		
			
				
					
					|  |  |  |   echo "Installing Hombrew" |  |  |  |   echo "Installing Hombrew" | 
			
		
	
		
		
			
				
					
					|  |  |  |   /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" |  |  |  |   /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | 
			
		
	
		
		
			
				
					
					|  |  |  | fi |  |  |  | fi | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | brew install capnp \ |  |  |  | brew bundle --file=- <<-EOS | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |              coreutils \ |  |  |  | brew "capnp" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |              eigen \ |  |  |  | brew "coreutils" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |              ffmpeg \ |  |  |  | brew "eigen" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |              glfw \ |  |  |  | brew "ffmpeg" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |              libarchive \ |  |  |  | brew "glfw" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |              libusb \ |  |  |  | brew "libarchive" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |              libtool \ |  |  |  | brew "libusb" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |              llvm \ |  |  |  | brew "libtool" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |              openssl \ |  |  |  | brew "llvm" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |              pyenv \ |  |  |  | brew "openssl" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |              qt5 \ |  |  |  | brew "pyenv" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |              zeromq |  |  |  | brew "qt5" | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | brew "zeromq" | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | EOS | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | if [[ $SHELL == "/bin/zsh" ]]; then |  |  |  | if [[ $SHELL == "/bin/zsh" ]]; then | 
			
		
	
		
		
			
				
					
					|  |  |  |   RC_FILE="$HOME/.zshrc" |  |  |  |   RC_FILE="$HOME/.zshrc" | 
			
		
	
	
		
		
			
				
					|  |  | 
 |