#!/usr/bin/env bash
# This script will collect all runfiles associated with the below bazel targets
# and tar them up in a temp file. The file locations are echoed to stdout.
# Designed to be executed on linux from the continuum repo
set -eou pipefail

# Jump into the driving directory where this file exists
builtin cd "$(dirname "$(readlink --canonicalize "${BASH_SOURCE[0]}")")"
# Change directory to the workspace root so we can use canonical relative paths
builtin cd "$(bazel info workspace)"

./continuum/tools/generate_archive_from_target.sh //teleop/ziod/logger:recorder
./continuum/tools/generate_archive_from_target.sh //teleop/ziod/logger:replayer
