#!/bin/bash

set -euo pipefail

workspace=$(bazel info workspace)
bazel build //tools/pip_compile_wrapper
(
  cd "${workspace}"
  bazel-bin/tools/pip_compile_wrapper/pip_compile_wrapper --allow-unsafe requirements.in
)
