#!/usr/bin/env bash

set -euo pipefail

set +e
rm -f mission_planner/planner.so
set -e

bazel build --python_version=PY3 //dispatch/mission_planner_cpp:planner.so
cp "$(bazel info --python_version=PY3 bazel-bin)/dispatch/mission_planner_cpp/planner.so" mission_planner/
