mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-10-31 07:25:22 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			9 lines
		
	
	
		
			241 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			241 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| #!/bin/bash -e
 | |
| 
 | |
| # Relative to git-repository root:
 | |
| TRIGGER_COMPILE_PATHS="src/|CMakeLists.txt|cmake/Modules/|util/travis/|util/buildbot/"
 | |
| 
 | |
| needs_compile() {
 | |
| 	git diff --name-only $TRAVIS_COMMIT_RANGE | egrep -q "^($TRIGGER_COMPILE_PATHS)"
 | |
| }
 |