summaryrefslogtreecommitdiff
path: root/scripts/setup_and_run_two_a6000.sh
blob: ec4e3da1a1f09a7732c112ebc3a936c65f0a2b63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env bash
set -euo pipefail

ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "${ROOT_DIR}"

if [[ "${SKIP_SETUP:-0}" != "1" ]]; then
  ./scripts/setup_env.sh
fi

if [[ -d "${VENV_DIR:-.venv}" ]]; then
  source "${VENV_DIR:-.venv}/bin/activate"
fi

./scripts/run_two_a6000.sh