#!/usr/bin/env bash
set -euo pipefail
repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
cd "$repo_root"
git submodule update --init --recursive
cargo run --manifest-path tools/proto-gen/Cargo.toml