mirror of
				https://github.com/KevinMidboe/linguist.git
				synced 2025-10-29 17:50:22 +00:00 
			
		
		
		
	This runs 8 `git submodule update` processes in parallel, speeding up bootstrap from 2 minutes to 30 seconds for me. (Obviously this is dependent on bandwidth.)
		
			
				
	
	
		
			13 lines
		
	
	
		
			189 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			189 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
set -e
 | 
						|
 | 
						|
cd "$(dirname "$0")/.."
 | 
						|
 | 
						|
bundle config --local path vendor/gems
 | 
						|
 | 
						|
bundle check > /dev/null 2>&1 || bundle install
 | 
						|
 | 
						|
git submodule sync --quiet
 | 
						|
script/fast-submodule-update
 |