# works for bash and zsh
script_dir=$(readlink -f $(dirname "${BASH_SOURCE[0]:-${(%):-%x}}"))

# the frontend dockerfiles expect a copy of spectrum-ui called
# .spectrum-ui. The reason for this is docker can only add files
# to a container from the directory it is called in and below
cp -fR $script_dir/../spectrum/spectrum-ui $script_dir/frontend/.spectrum-ui

source $script_dir/test_environment/setup.sh
