19 lines
		
	
	
		
			262 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			262 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
|  | #!/bin/bash | ||
|  | 
 | ||
|  | pushd checkout | ||
|  | rm -rf *-*/ | ||
|  | find . -maxdepth 1 -type f -atime +25 -print -delete | ||
|  | 
 | ||
|  | for gitdir in babl gegl pika; do | ||
|  | 	pushd $gitdir | ||
|  | 	git clean -xdf | ||
|  | 	popd | ||
|  | done | ||
|  | 
 | ||
|  | popd | ||
|  | 
 | ||
|  | if [[ "$1" != "--skip-targets" ]]; then | ||
|  | 	echo "Cleaning targets" | ||
|  | 	rm -rf targets/* | ||
|  | fi |