peridot/hack/build_impacted_frontend.sh

17 lines
321 B
Bash
Raw Permalink Normal View History

2022-10-30 08:44:59 +00:00
#!/usr/bin/env bash
set -o errexit
source hack/bazel_setup.sh
starting_query="attr(tags, 'resf_frontend_bundle',"
for t in `cat impacted_targets`; do
starting_query="$starting_query $t union"
done
starting_query=${starting_query%" union"}
starting_query="$starting_query)"
$BAZEL_B $($BAZEL_QR "$starting_query")