mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			369 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			369 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/bash -e
 | 
						|
 | 
						|
cd "$(dirname "$0")"/..
 | 
						|
 | 
						|
function run {
 | 
						|
    echo '----'
 | 
						|
    echo "Running $@"
 | 
						|
    if ! "$@"; then
 | 
						|
        printf "\n\e[31;1mFAILED\e[0m $@\n"
 | 
						|
        exit 1
 | 
						|
    else
 | 
						|
        echo
 | 
						|
    fi
 | 
						|
}
 | 
						|
 | 
						|
run ./tools/clean-repo
 | 
						|
run ./tools/lint-all
 | 
						|
run ./tools/test-js-with-node
 | 
						|
run ./tools/test-backend
 | 
						|
run ./tools/test-js-with-casper
 | 
						|
 | 
						|
printf '\n\e[32mAll OK!\e[0m\n'
 |