D3V-Server/scripts/cypress-dev

14 lines
296 B
Text
Raw Permalink Normal View History

2026-03-07 13:49:44 +00:00
#!/bin/bash -e
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
. "$DIR/.common.sh"
# Ensure docker exists
if hash docker 2>/dev/null; then
cd "${DIR}/.."
rm -rf "$DIR/../test/results"
docker compose up --build cypress
else
echo -e "${RED} docker command is not available${RESET}"
fi