#!/usr/bin/env bash

set -euox pipefail

bazel --output_user_root="$HOME/.cache/bazel/sim-launch-root" build //sim:launch
bazel build //sim/log_test_converter:convert_chum_uri
bazel build //sim/sdl:run_config
bazel build //sim/scenario_editor/web/backend/sim_service/scripts:enum_pbtxt
bazel build //sim/scenario_editor/web/backend/sim_service/scripts:get_chum_uri
bazel build //sim/scenario_editor/web/backend/sim_service/scripts:pbtxt_to_bob
bazel build //sim/scenario_editor/web/backend/sim_service/scripts:zrn_archive_migration
bazel build //sim/scenario_editor/web/backend/sim_service/scripts:zrn_unique_gitsha
bazel build //sim/scenario_editor/web/backend/sim_service/scripts/junctions:junction_from_position
bazel build //sim/scenario_editor/web/backend/sim_service/scripts/junctions:junctions_from_ids
bazel build //sim/scenario_editor/web/backend/sim_service/scripts/route:build_route_position_list
bazel build //sim/scenario_editor/web/backend/sim_service/scripts/prediction_override:populate_trajectory_set
bazel build //sim/scenario_editor/web/backend/sim_service/scripts/prediction_override:visualize_trajectory
bazel build //sim/simple_sim
bazel build //sim/pipeline/modules:planner_module
bazel build //data/chum/chumpy
