#!/usr/bin/env bash # Runs the shop's own scenarios (scripts/demo.sh + gotchas.sh of the parent project) on an upgraded copy. # $1 = directory produced by upgrade.sh and already built with `mvn -DskipTests package`. cd "$1" || exit 1 trap 'scripts/stop.sh >/dev/null' EXIT scripts/start.sh && scripts/demo.sh >/dev/null && scripts/gotchas.sh >/dev/null && echo SCENARIOS-DONE