mirror of
				https://github.com/NginxProxyManager/nginx-proxy-manager.git
				synced 2025-10-27 22:03:34 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			372 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			372 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/bin/bash -e
 | ||
| 
 | ||
| DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
 | ||
| . "$DIR/.common.sh"
 | ||
| 
 | ||
| # Ensure docker-compose exists
 | ||
| if hash docker-compose 2>/dev/null; then
 | ||
| 	cd "${DIR}/.."
 | ||
| 	echo -e "${BLUE}❯ ${CYAN}Testing Dev Stack ...${RESET}"
 | ||
| 	docker-compose exec -T npm bash -c "cd /app && task test"
 | ||
| else
 | ||
| 	echo -e "${RED}❯ docker-compose command is not available${RESET}"
 | ||
| fi
 |